mirror of
https://github.com/ollama/ollama
synced 2026-04-23 08:45:14 +00:00
* 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
|
||
|---|---|---|
| .. | ||
| anthropic.go | ||
| anthropic_test.go | ||
| trace.go | ||