Skip to content

Automate browser based workflows with AI

Use the correct env var LLM_KEY instead of LLM_MODEL (#98)

Kerem Yilmaz084c1a2d5b8f
diff --git a/.env.example b/.env.example
index cf97c2014..a1875d12d 100644
--- a/.env.example
+++ b/.env.example
@@ -23,9 +23,9 @@ AZURE_API_BASE=""
# AZURE_API_VERSION: The version of Azure's API to use.
AZURE_API_VERSION=""
-# LLM_MODEL: The chosen language model to use. This should be one of the models
+# LLM_KEY: The chosen language model to use. This should be one of the models
# provided by the enabled LLM providers (e.g., OPENAI_GPT4_TURBO, OPENAI_GPT4V, ANTHROPIC_CLAUDE3, AZURE_OPENAI_GPT4V).
-LLM_MODEL=""
+LLM_KEY=""
# Web browser configuration for scraping:
# BROWSER_TYPE: Can be either "chromium-headless" or "chromium-headful".
diff --git a/.github/sync.yml b/.github/sync.yml
index eb2ccb857..10917a1c5 100644
--- a/.github/sync.yml
+++ b/.github/sync.yml
@@ -6,4 +6,14 @@ Skyvern-AI/skyvern-cloud:
- source: pyproject.toml
dest: pyproject.toml
- source: poetry.lock
- dest: poetry.lock
\ No newline at end of file
+ dest: poetry.lock
+ - source: setup.sh
+ dest: setup.sh
+ - source: .env.example
+ dest: .env.example
+ - source: run_ui.sh
+ dest: run_ui.sh
+ - source: run_skyvern.sh
+ dest: run_skyvern.sh
+ - source: run_alembic_check.sh
+ dest: run_alembic_check.sh
\ No newline at end of file
diff --git a/setup.sh b/setup.sh
index d018ed2df..e786bbd76 100755
--- a/setup.sh
+++ b/setup.sh
@@ -107,7 +107,7 @@ setup_llm_providers() {
read -p "Choose a model by number (e.g., 1 for ${model_options[0]}): " model_choice
chosen_model=${model_options[$((model_choice-1))]}
echo "Chosen LLM Model: $chosen_model"
- update_or_add_env_var "LLM_MODEL" "$chosen_model"
+ update_or_add_env_var "LLM_KEY" "$chosen_model"
fi
echo "LLM provider configurations updated in .env."