-
|
I need the agent only do tool-routing without a second LLM call for final synthesis. Current behaviorWhen tools are enabled, the framework executes tool calls and then performs another LLM step to produce the final assistant response. Desired behavior
Is there any option setting or other method to achieve this? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @dlwangac, yes, this is done via middleware. Are you using MAF Python or C#? I can provide some samples depending on which language you're using. |
Beta Was this translation helpful? Give feedback.
Please have a look at this sample: https://github.com/microsoft/agent-framework/blob/main/python/samples/02-agents/middleware/override_result_with_middleware.py