RoAr777 commited on
Commit
44b8719
·
verified ·
1 Parent(s): 6214592

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -400,7 +400,7 @@ def chatbot_response(history,query):
400
  message = HumanMessage(content=[{"type": "text", "text": query}])
401
 
402
  # Invoke the model with the multimodal message
403
- result = agent.invoke({'history':history,'input':message.context},handle_parsing_errors=True)
404
  response = result['output']
405
  intermediate_steps = result.get('intermediate_steps', [])
406
 
 
400
  message = HumanMessage(content=[{"type": "text", "text": query}])
401
 
402
  # Invoke the model with the multimodal message
403
+ result = agent.invoke({'history':history,'input':message.content},handle_parsing_errors=True)
404
  response = result['output']
405
  intermediate_steps = result.get('intermediate_steps', [])
406