We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b909bc8 commit 3436da6Copy full SHA for 3436da6
langchain/agents/openai_functions_agent/base.py
@@ -236,7 +236,7 @@ async def aplan(
236
prompt = self.prompt.format_prompt(**full_inputs)
237
messages = prompt.to_messages()
238
predicted_message = await self.llm.apredict_messages(
239
- messages, functions=self.functions
+ messages, functions=self.functions, callbacks=callbacks
240
)
241
agent_decision = _parse_ai_message(predicted_message)
242
return agent_decision
0 commit comments