From 084c1a2d5b8f5bb5b90e76ffd8c82394f787ddcf Mon Sep 17 00:00:00 2001 From: Kerem Yilmaz Date: Sun, 17 Mar 2024 20:27:44 -0700 Subject: [PATCH] Use the correct env var LLM_KEY instead of LLM_MODEL (#98) --- .env.example | 4 ++-- .github/sync.yml | 12 +++++++++++- setup.sh | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index cf97c201..a1875d12 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 eb2ccb85..10917a1c 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 d018ed2d..e786bbd7 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."