Skip to content

Commit

Permalink
deleted useless command (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
qchiujunhao authored Nov 22, 2024
1 parent 1aba960 commit f4ecf00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ def configure_llm_options(openai_api_key, groq_api_key_user, groq_api_key):
"OpenAI",
"Your-BambooLLM-API-Key" ]
default_index = 0
if not groq_api_key:
del available_options[0]
if groq_api_key_user:
if not groq_api_key or groq_api_key_user:
del available_options[0]
elif openai_api_key:
default_index = 2 if groq_api_key else 1
Expand Down
3 changes: 1 addition & 2 deletions tools/chat_analysis.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
<command>
<![CDATA[
echo "Starting Streamlit" &&
echo "Script executed from: `pwd`" &&
echo "working dir now: `pwd`" &&
mkdir -p plots &&
ln -sf $__tool_directory__/.env /ChatAnalysis/.env &&
streamlit run /ChatAnalysis/chat_analysis.py
"$openai_api_key_file"
"$groq_api_key_file"
Expand Down

0 comments on commit f4ecf00

Please sign in to comment.