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
The posts behind it
3, newest first[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 ↗[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 ↗Cloud /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
Other Claude Code problems
Claude Code upgrades break working setupsClaude Code users keep filing bugsClaude Code error messages are crypticRunning Claude Code locally hits memory and speed limitsClaude Code GPU access and drivers are painfulFine-tuning Claude Code is costly and unpredictableTrouble with Claude Code browserTrouble with Claude Code sessionsClaude Code rate limits and usage caps block workClaude Code outages and slowdowns disrupt workTrouble with Claude Code desktopClaude Code runs out of context on real work
History
rising to fading
Trouble with Claude Code messages (4 posts)