Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
anthropic: do not count image tokens for now (#14127)
Jeffrey Morgan2e3ce6eab39f
diff --git a/anthropic/anthropic.go b/anthropic/anthropic.goindex 82bfb291e..94d435932 100755--- a/anthropic/anthropic.go+++ b/anthropic/anthropic.go@@ -897,11 +897,5 @@ func countContentBlock(block any) int {}}- if source, ok := blockMap["source"].(map[string]any); ok {- if data, ok := source["data"].(string); ok {- total += len(data)- }- }-return total}