feat(ai): add guarded Claude fallback route
This commit is contained in:
@@ -134,8 +134,8 @@
|
||||
|
||||
"ai_providers": {
|
||||
"schema_version": "ai_provider_production_route_v1",
|
||||
"fallback_order": ["ollama_gcp_a", "ollama_gcp_b", "ollama_local", "gemini"],
|
||||
"route_label": "GCP-A -> GCP-B -> host111 Ollama -> Gemini API",
|
||||
"fallback_order": ["ollama_gcp_a", "ollama_gcp_b", "ollama_local", "claude", "gemini"],
|
||||
"route_label": "GCP-A -> GCP-B -> host111 Ollama -> Anthropic Claude API -> Gemini API",
|
||||
"router_toggle": "USE_AI_ROUTER",
|
||||
"providers": [
|
||||
{
|
||||
@@ -165,6 +165,18 @@
|
||||
"production_executable": true,
|
||||
"description": "全域 production 第三跳"
|
||||
},
|
||||
{
|
||||
"name": "claude",
|
||||
"identity": "Anthropic Claude API",
|
||||
"model": "claude-sonnet-5",
|
||||
"input_cost_per_1m_tokens_usd": 3.0,
|
||||
"output_cost_per_1m_tokens_usd": 15.0,
|
||||
"timeout_seconds": 30,
|
||||
"production_executable": true,
|
||||
"default_execution_mode": "shadow",
|
||||
"execution_gate": "configured_and_enabled_and_mode_selected_and_atomic_cost_guard_reserved",
|
||||
"description": "Claude Sonnet 5 — 第四跳 SRE/架構付費備援,預設 shadow/no-call"
|
||||
},
|
||||
{
|
||||
"name": "gemini",
|
||||
"identity": "Gemini API",
|
||||
@@ -177,7 +189,6 @@
|
||||
}
|
||||
],
|
||||
"shadow_metadata_only": [
|
||||
{"name": "claude", "production_executable": false},
|
||||
{"name": "nvidia", "production_executable": false},
|
||||
{"name": "nemotron", "production_executable": false},
|
||||
{"name": "openclaw_nemo", "production_executable": false},
|
||||
|
||||
Reference in New Issue
Block a user