100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
chore: update game_design_agent_team.py
Ikko Eltociear Ashimine9a14429191e2
diff --git a/ai_agent_tutorials/ai_game_design_agent_team/game_design_agent_team.py b/ai_agent_tutorials/ai_game_design_agent_team/game_design_agent_team.pyindex ebd05588..950a4aab 100644--- a/ai_agent_tutorials/ai_game_design_agent_team/game_design_agent_team.py+++ b/ai_agent_tutorials/ai_game_design_agent_team/game_design_agent_team.py@@ -206,7 +206,7 @@ if st.button("Generate Game Concept"):agent.llm_config['tool_choice'] = Noneagent.client = OpenAIWrapper(**agent.llm_config)# the agent has given a summary, now it should generate a detailed response- system_prompt += f"\n\nYour task\nYou task is write the {current_gen} part of the report. Do not include any other parts. Do not use XML tags.\nStart your reponse with: '## {current_gen.capitalize()} Design'."+ system_prompt += f"\n\nYour task\nYou task is write the {current_gen} part of the report. Do not include any other parts. Do not use XML tags.\nStart your response with: '## {current_gen.capitalize()} Design'."# Remove all messages except the first one with less costk = list(agent._oai_messages.keys())[-1]