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",
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",
},
}