Files
picoclaw/pkg/providers
Darren.Zeng 54654d2794 fix(anthropic): skip tool calls with empty names to prevent API errors (#1739)
When building parameters for Anthropic API calls, tool calls with empty
names would cause 400 Bad Request errors with the message:
'tool_use.name: String should have at least 1 character'

This fix adds a check to skip tool calls that have empty names, preventing
the API error and allowing the conversation to continue normally.

Fixes #1658
2026-03-18 21:55:01 +08:00
..
2026-03-15 12:45:11 +08:00
2026-02-18 21:48:23 +02:00
2026-02-25 21:14:19 +11:00
2026-03-01 18:24:11 +11:00
2026-02-18 21:48:23 +02:00
2026-03-01 18:17:32 +11:00