From 2ebc3f8d9e42dcf04c3e9d452715cb84687b7966 Mon Sep 17 00:00:00 2001 From: Madhu Date: Fri, 10 Jan 2025 21:59:58 +0530 Subject: [PATCH] chess --- ai_agent_tutorials/ai_chess_game/ai_chess_agents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai_agent_tutorials/ai_chess_game/ai_chess_agents.py b/ai_agent_tutorials/ai_chess_game/ai_chess_agents.py index b812bd0..9897de3 100644 --- a/ai_agent_tutorials/ai_chess_game/ai_chess_agents.py +++ b/ai_agent_tutorials/ai_chess_game/ai_chess_agents.py @@ -196,7 +196,7 @@ if st.session_state.openai_api_key: message="Let's play chess! You go first, its your move.", max_turns=5, # Set a high enough number to allow the game to complete ) - st.markdown(chat_result.summary) + st.markdown(chat_result.chat_history) else: st.warning("Please enter your OpenAI API key in the sidebar to start the game.") \ No newline at end of file