Sheller commited on
Commit
55fc54f
·
verified ·
1 Parent(s): 987b9da

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +4 -1
src/streamlit_app.py CHANGED
@@ -84,7 +84,7 @@ CONTENT = {
84
  },
85
  "English": {
86
  "title": "🤖 Elf-OS: Agent Simulator",
87
- "intro": "Welcome to Advanced Mode! AI Agents consume energy. Watch your **Magic Dust (Tokens)**. Each tool costs dust. If you run out, the agent crashes!",
88
  "help_title": "📜 Instructions: How to Play",
89
  "help_text": """
90
  **Your Goal:** Build a chain of tools to solve the active mission.
@@ -189,6 +189,9 @@ text = CONTENT[lang_key]
189
  st.title(text["title"])
190
  st.markdown(text["intro"])
191
 
 
 
 
192
  # 2. Mission Selection
193
  mission_options = {m_data["name"]: m_key for m_key, m_data in text["missions"].items()}
194
  selected_mission_name = st.sidebar.selectbox(text["sidebar_title"], list(mission_options.keys()))
 
84
  },
85
  "English": {
86
  "title": "🤖 Elf-OS: Agent Simulator",
87
+ "intro": "An **AI agent** is like a clever elf: it doesn't just give advice, it uses **tools** to solve tasks. Your job is to tell the agent in which ORDER it should use the tools. AI Agents consume energy. Watch your **Magic Dust (Tokens)**. Each tool costs dust. If you run out, the agent crashes!",
88
  "help_title": "📜 Instructions: How to Play",
89
  "help_text": """
90
  **Your Goal:** Build a chain of tools to solve the active mission.
 
189
  st.title(text["title"])
190
  st.markdown(text["intro"])
191
 
192
+ with st.expander(text["help_title"]):
193
+ st.markdown(text["help_text"])
194
+
195
  # 2. Mission Selection
196
  mission_options = {m_data["name"]: m_key for m_key, m_data in text["missions"].items()}
197
  selected_mission_name = st.sidebar.selectbox(text["sidebar_title"], list(mission_options.keys()))