Files
picoclaw/pkg
Edouard CLAUDE 34a8ce5af0 fix: remove extra fields from ToolCall JSON serialization
Mistral's API strictly validates tool_calls in assistant messages and
rejects non-standard fields. The ToolCall struct had Name and Arguments
as top-level JSON fields, duplicating data already in Function.Name
and Function.Arguments. OpenAI silently ignored these extras but
Mistral returns 422.

Change json tags to "-" so these internal fields are no longer
serialized to API payloads while remaining available in Go code.
2026-02-22 11:40:21 +04:00
..
2026-02-21 08:21:38 +08:00
2026-02-20 20:03:11 +02:00
2026-02-20 22:35:16 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-20 20:03:11 +02:00
2026-02-18 21:48:23 +02:00
2026-02-21 16:20:15 +08:00
2026-02-20 20:03:11 +02:00
2026-02-20 22:35:16 +02:00