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

This commit is contained in:
Kerem Yilmaz
2024-03-17 20:27:44 -07:00
committed by GitHub
parent d1de19556e
commit 084c1a2d5b
3 changed files with 14 additions and 4 deletions

View File

@@ -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."