From 9a14429191e25f7f3056a8b249e9f7926d912dde Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sun, 26 Jan 2025 00:47:10 +0900 Subject: [PATCH] chore: update game_design_agent_team.py reponse -> response --- .../ai_game_design_agent_team/game_design_agent_team.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.py index ebd0558..950a4aa 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'] = None agent.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 cost k = list(agent._oai_messages.keys())[-1]