Hi All,
I am facing the issue below. Could you guys help me to understand why I am getting this issue?
@Shakti_Singh Hi,
From the screenshot, it looks like the tool call is completed, but the final agent response is coming as terminate: null.
This usually happens when the agent is not returning the expected final output, or the output field is not properly defined/mapped.
Please check the below points:
Make sure the agent output schema is configured correctly.
In the prompt, clearly mention what the agent should return after calling SupportGroupIndex.
Check whether SupportGroupIndex is returning a valid response.
If you are using this agent in a workflow, verify that the output variable is mapped correctly.
Add a condition to handle null or empty output.
For example, you can update the prompt like:
“After identifying the correct support group, always return the final response to the user. Do not return null.”
So this issue may not be related to SharePoint directly. It looks more related to the agent output configuration or final response generation.
It could be due to your system prompt. What’s your system prompt. Does it specify what should be the agent output?