ollama/anthropic
Devon Rifkin c9b2dcfc52
anthropic: fix empty inputs in content blocks (#15105)
* anthropic: fix empty inputs in content blocks

When we switched to `api.ToolCallFunctionArguments`, `omitempty` stopped
doing what we were relying on it for before. This would cause non-tool
content blocks to have an `"input": {}` field, which doesn't match our
old behavior.

* use omitzero instead
2026-03-27 15:41:27 -07:00
..
anthropic.go anthropic: fix empty inputs in content blocks (#15105) 2026-03-27 15:41:27 -07:00
anthropic_test.go anthropic: fix empty inputs in content blocks (#15105) 2026-03-27 15:41:27 -07:00
trace.go anthropic: enable websearch (#14246) 2026-02-13 19:20:46 -08:00