Skip to content

Commit ec05762

Browse files
changes in validation
1 parent f333256 commit ec05762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agentlib/agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class Agent {
198198
toolResults.push({
199199
role: "tool",
200200
tool_call_id: tool.id,
201-
content: String(error),
201+
content:`please provide valid json string for tool.function.arguments String(error)`,
202202

203203
});
204204

0 commit comments

Comments
 (0)