Skip to content

Automate browser based workflows with AI

Ruff (#339)

Suchintan9a6ec13af63f
diff --git a/skyvern/config.py b/skyvern/config.py
index 8a39a63b8..a8be43b19 100644
--- a/skyvern/config.py
+++ b/skyvern/config.py
@@ -62,7 +62,7 @@ class Settings(BaseSettings):
# LLM Configuration #
#####################
# ACTIVE LLM PROVIDER
- LLM_KEY: str = "OPENAI_GPT4o"
+ LLM_KEY: str = "OPENAI_GPT4o"
# COMMON
LLM_CONFIG_MAX_TOKENS: int = 4096
LLM_CONFIG_TEMPERATURE: float = 0
@@ -81,7 +81,6 @@ class Settings(BaseSettings):
AZURE_API_BASE: str | None = None
AZURE_API_VERSION: str | None = None
-
def is_cloud_environment(self) -> bool:
"""
:return: True if env is not local, else False
diff --git a/skyvern/forge/sdk/api/llm/config_registry.py b/skyvern/forge/sdk/api/llm/config_registry.py
index cc02c02b2..3096d3aef 100644
--- a/skyvern/forge/sdk/api/llm/config_registry.py
+++ b/skyvern/forge/sdk/api/llm/config_registry.py
@@ -42,6 +42,7 @@ class LLMConfigRegistry:
return cls._configs[llm_key]
+
# if none of the LLM providers are enabled, raise an error
if not any(
[