feat(ai): add guarded Claude fallback route
This commit is contained in:
@@ -17,7 +17,7 @@ import re
|
||||
from collections.abc import Mapping
|
||||
from typing import Any
|
||||
|
||||
from src.services.ai_provider_policy import PRODUCTION_OLLAMA_ORDER
|
||||
from src.services.ai_provider_policy import PRODUCTION_PROVIDER_ORDER
|
||||
from src.services.service_registry import (
|
||||
ServiceRegistryClient,
|
||||
StatefulLevel,
|
||||
@@ -197,7 +197,7 @@ def _typed_route(
|
||||
},
|
||||
"reasoning_contract": {
|
||||
"rca": "ollama_provider_chain",
|
||||
"provider_order": list(PRODUCTION_OLLAMA_ORDER),
|
||||
"provider_order": list(PRODUCTION_PROVIDER_ORDER),
|
||||
"critic": "gemini_final_fallback_explicit_cost_gate",
|
||||
"paid_call_allowed": False,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user