mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-05-05 15:30:52 +00:00
add SkyvernClient (#1943)
This commit is contained in:
parent
18d38573d3
commit
8a561c2fbb
13 changed files with 137 additions and 44 deletions
|
|
@ -5,7 +5,6 @@ from skyvern.forge.sdk.api.llm.exceptions import (
|
|||
DuplicateLLMConfigError,
|
||||
InvalidLLMConfigError,
|
||||
MissingLLMProviderEnvVarsError,
|
||||
NoProviderEnabledError,
|
||||
)
|
||||
from skyvern.forge.sdk.api.llm.models import LiteLLMParams, LLMConfig, LLMRouterConfig
|
||||
|
||||
|
|
@ -55,7 +54,10 @@ if not any(
|
|||
settings.ENABLE_NOVITA,
|
||||
]
|
||||
):
|
||||
raise NoProviderEnabledError()
|
||||
LOG.warning(
|
||||
"At least one LLM provider must be enabled. Run setup.sh and follow through the LLM provider setup, or "
|
||||
"update the .env file (check out .env.example to see the required environment variables)."
|
||||
)
|
||||
|
||||
|
||||
if settings.ENABLE_OPENAI:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue