-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I see many failed attempts,
Unexpected API Response: The language model did not provide any assistant messages.
This may indicate an issue with the API or the model's output.
among which there are sometimes discussions that the instrument was called incorrectly and somehow mentions of XML instructions. I assume that not the entire request is cleared of XML instructions, and the model still tries to use XML.
citations from think process:
> Then get-library-docs. I need to use two tools. Provide XML tags. Use first resolve-library-id.
> So do resolve then get docs. Provide XML.
> We provide <libraryName>[some_lib_name]</libraryName>.
this may confirm that the model is still trying to use xml to respond
exported task:
**Assistant:**
Failure: I did not provide a response.
---
**User:**
[ERROR] You did not use a tool in your previous response! Please retry with a tool use.
# Reminder: Instructions for Tool Use
Tool uses are formatted using XML-style tags. The tool name itself becomes the XML tag name. Each parameter is enclosed within its own set of tags. Here's the structure:
<actual_tool_name>
<parameter1_name>value1</parameter1_name>
<parameter2_name>value2</parameter2_name>
...
</actual_tool_name>
For example, to use the attempt_completion tool:
<attempt_completion>
<result>
I have completed the task...
</result>
</attempt_completion>
Always use the actual tool name as the XML tag name for proper parsing and execution.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels