jdesiree commited on
Commit
3168fb1
·
verified ·
1 Parent(s): 03e3e06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1190,15 +1190,15 @@ def orchestrate_turn(user_input: str, session_id: str = "default") -> str:
1190
  # CRITICAL: Must be a Dict, NOT a string!
1191
  input_data = {
1192
  'user_query': user_input,
1193
- 'conversation_history': recent_history, # List[Dict], not formatted string!
1194
- 'active_prompts': response_prompt_names, # List[str]
1195
  'thinking_context': thinking_context, # str (from thinking agents)
1196
  'tool_context': combined_tool_context, # str (tool usage info)
1197
  }
1198
 
1199
  logger.info(f"Response input prepared:")
1200
  logger.info(f" - User query: {len(user_input)} chars")
1201
- logger.info(f" - History: {len(recent_history)} messages")
1202
  logger.info(f" - Active prompts: {len(response_prompt_names)} prompts")
1203
  logger.info(f" - Thinking context: {len(thinking_context)} chars")
1204
  logger.info(f" - Tool context: {len(combined_tool_context)} chars")
 
1190
  # CRITICAL: Must be a Dict, NOT a string!
1191
  input_data = {
1192
  'user_query': user_input,
1193
+ 'conversation_history': conversation_history,
1194
+ 'active_prompts': response_prompt_names,
1195
  'thinking_context': thinking_context, # str (from thinking agents)
1196
  'tool_context': combined_tool_context, # str (tool usage info)
1197
  }
1198
 
1199
  logger.info(f"Response input prepared:")
1200
  logger.info(f" - User query: {len(user_input)} chars")
1201
+ logger.info(f" - History: {len(conversation_history)} messages")
1202
  logger.info(f" - Active prompts: {len(response_prompt_names)} prompts")
1203
  logger.info(f" - Thinking context: {len(thinking_context)} chars")
1204
  logger.info(f" - Tool context: {len(combined_tool_context)} chars")