WebashalarForML commited on
Commit
5643154
·
verified ·
1 Parent(s): 76c663f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -474,7 +474,7 @@ def parse_query_and_set_initial_positions(state: GameState):
474
  "Corrected JSON:\n" # Indicate where the corrected JSON should start
475
  )
476
  correction_response = agent_json_resolver.invoke({"messages": [{"role": "user", "content": correction_prompt}]})
477
- print(f"[JSON CORRECTOR RESPONSE AT PARSER]: {correction_response["messages"][-1].content}")
478
  corrected_data = extract_json_from_llm_response(correction_response["messages"][-1].content)#strip_noise(correction_response["messages"][-1].content))
479
  sprite_positions = corrected_data.get("sprite_initial_positions", {})
480
 
 
474
  "Corrected JSON:\n" # Indicate where the corrected JSON should start
475
  )
476
  correction_response = agent_json_resolver.invoke({"messages": [{"role": "user", "content": correction_prompt}]})
477
+ print(f"[JSON CORRECTOR RESPONSE AT PARSER]: {correction_response['messages'][-1].content}")
478
  corrected_data = extract_json_from_llm_response(correction_response["messages"][-1].content)#strip_noise(correction_response["messages"][-1].content))
479
  sprite_positions = corrected_data.get("sprite_initial_positions", {})
480