diff --git a/core/team_runner.py b/core/team_runner.py index 78e3fec..7d59914 100644 --- a/core/team_runner.py +++ b/core/team_runner.py @@ -58,7 +58,7 @@ _TIER_CAPABILITIES: dict[int, str] = { 1: "reasoning-heavy", 2: "reasoning-heavy", 3: "capable", - 4: "capable", + 4: "fast-cheap", 5: "fast-cheap", } @@ -71,18 +71,16 @@ _TIER_CAPABILITIES: dict[int, str] = { # enabling third-party adapters without touching this file. # --------------------------------------------------------------------------- -_LLM_ADAPTERS: dict[str, str] = { - "anthropic": "adapters.llm.anthropic:AnthropicAdapter", -} -_VCS_ADAPTERS: dict[str, str] = { - "github": "adapters.vcs.github:GitHubAdapter", -} -_NOTIFY_ADAPTERS: dict[str, str] = { - "openclaw": "adapters.notify.openclaw:OpenClawNotifyAdapter", -} -_RUNTIME_ADAPTERS: dict[str, str] = { - "openclaw": "adapters.runtime.openclaw:OpenClawRuntimeAdapter", - "claude_code": "adapters.runtime.claude_code:ClaudeCodeRuntimeAdapter", +# Adapter registries are loaded from team.yaml at runtime (adapter_registry section). +# Fallback built-ins are used only if team.yaml doesn't define adapter_registry. +_BUILTIN_ADAPTER_REGISTRY: dict[str, dict[str, str]] = { + "llm": {"anthropic": "adapters.llm.anthropic:AnthropicAdapter"}, + "vcs": {"github": "adapters.vcs.github:GitHubAdapter"}, + "notify": {"openclaw": "adapters.notify.openclaw:OpenClawNotifyAdapter"}, + "runtime": { + "openclaw": "adapters.runtime.openclaw:OpenClawRuntimeAdapter", + "claude_code": "adapters.runtime.claude_code:ClaudeCodeRuntimeAdapter", + }, }