refactor: add fallback LLM configuration options to settings

This commit is contained in:
Siddhant Rai
2025-06-06 17:05:15 +05:30
parent 5f5c31cd5b
commit 35f4b13237
2 changed files with 3 additions and 1 deletions

View File

@@ -72,7 +72,6 @@ class BaseLLM(ABC):
logger.warning(
f"Falling back to {self.fallback_provider}/{self.fallback_model_name}. Error: {str(e)}"
)
# Retry with fallback (without decorators for accurate token tracking)
fallback_method = getattr(
self.fallback_llm, method_name.replace("_raw_", "")