Data and AI struggles

Trouble with Claude Code messages

AI coding3 posts from 3 people2d active+00 posts in the last 7 days, 2 the 7 days before (fading)

Posts per day

Posts per day3 posts, Aug 27 to Oct 21

The posts behind it

3, newest first
GitHub issuesOct 14 7 days ago[Bug]: GoogleAIStudioTokenCounter.count_tokens passes contents=None for /v1/messages/count_tokens (missed in #36981)### What happened? When calling `POST /v1/messages/count_tokens` (e.g. from Claude Code CLI) against a `gemini/` (Google AI Studio) model deployment, LiteLLM fails with HTTP 500 due to an upstream 400 Bad Request from `https://generativelanguage.googleapis.com/v1beta/models/...BerriAI/litellm · wgordon173 repliesOpen ↗GitHub issuesOct 14 7 days ago[Bug]: `/v1/messages` exposes Gemini thought_signature only via non-standard `tool_use.provider_specific_fields` — standard Anthropic clients (Claude Code) always lose it, every turn falls back to the dummy signature### Description When a Gemini 3+ model is called through the Anthropic-compatible `/v1/messages` endpoint, the adapter (`litellm/llms/anthropic/pass_through/adapters/transformation.py`, same code in v1.102.0, v1.105.0 and current `main`): 1. Response path (`~L1400-1428` on...BerriAI/litellm · EvilCalf3 repliesOpen ↗GitHub issuesAug 27 7 weeks agoCloud /v1/messages: 400 "Input should be a valid string" when tool_result contains an image (still reproduces on cloud API)...(Claude Code `Read`, ZCode computer-use, etc.) gets a hard 400. Because the failing tool_result stays in the conversation history, **every subsequent request in that session fails with the same error** (`retryable=false`), effectively bricking the session. ### Expected behavior...ollama/ollama · hayye1 repliesOpen ↗

Companies and products named

About this problem

Evidence

3 posts from 3 people in 2 places, about 1 a week over 49 days. Mostly on BerriAI/litellm, ollama/ollama. Tools named alongside: Gemini, Ollama, Vertex AI, Docker.

Frustration Frustration 0 of 3· Seen on GitHub issues

How it was grouped

Posts about Claude Code with no known issue, sharing the word "messages". First post Aug 27, 2026, latest Oct 14, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method

History

MomentumOct 21, 2026rising to fading
AddedOct 20, 2026Trouble with Claude Code messages (4 posts)