mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-15 01:39:41 +00:00
Update docs plus init (#2073)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
parent
816d0e34d1
commit
ff57f9977c
11 changed files with 804 additions and 750 deletions
|
@ -42,24 +42,6 @@ class LLMConfigRegistry:
|
|||
return cls._configs[llm_key]
|
||||
|
||||
|
||||
# if none of the LLM providers are enabled, raise an error
|
||||
if not any(
|
||||
[
|
||||
settings.ENABLE_OPENAI,
|
||||
settings.ENABLE_ANTHROPIC,
|
||||
settings.ENABLE_AZURE,
|
||||
settings.ENABLE_AZURE_GPT4O_MINI,
|
||||
settings.ENABLE_BEDROCK,
|
||||
settings.ENABLE_GEMINI,
|
||||
settings.ENABLE_NOVITA,
|
||||
]
|
||||
):
|
||||
LOG.warning(
|
||||
"To run skyvern locally, you need to enable at least one LLM provider. 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:
|
||||
LLMConfigRegistry.register_config(
|
||||
"OPENAI_GPT4_TURBO",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue