mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
refactor: add fallback LLM configuration options to settings
This commit is contained in:
@@ -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_", "")
|
||||
|
||||
Reference in New Issue
Block a user