perf(team_runner): T4 capability fast-cheap — implementers produce structured JSON, don't need capable tier

This commit is contained in:
2026-03-16 01:14:08 -04:00
parent 45e3b7663e
commit 8277a00118

View File

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