mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-15 09:49:46 +00:00
debug log: Using general model configuration for unknown LLM key (#2223)
This commit is contained in:
parent
bee22e5777
commit
ef36125b91
1 changed files with 0 additions and 1 deletions
|
@ -38,7 +38,6 @@ class LLMConfigRegistry:
|
||||||
def get_config(cls, llm_key: str) -> LLMRouterConfig | LLMConfig:
|
def get_config(cls, llm_key: str) -> LLMRouterConfig | LLMConfig:
|
||||||
if llm_key not in cls._configs:
|
if llm_key not in cls._configs:
|
||||||
# If the key is not found in registered configs, treat it as a general model
|
# If the key is not found in registered configs, treat it as a general model
|
||||||
LOG.info("Using general model configuration for unknown LLM key", llm_key=llm_key)
|
|
||||||
if not llm_key:
|
if not llm_key:
|
||||||
raise InvalidLLMConfigError(f"LLM_KEY not set for {llm_key}")
|
raise InvalidLLMConfigError(f"LLM_KEY not set for {llm_key}")
|
||||||
return LLMConfig(
|
return LLMConfig(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue