Claude fails to return valid structured output
10 posts from 8 people8d activeFading, +0 this week
Posts per day
The posts behind it
[BUG] LiteLLM path drops token usage for tool-call turns and structured output (response_model)
🤖 [agent on alexmarchenko-crewai's behalf] ### Description When an `LLM` uses the LiteLLM fallback path, two kinds of call never report token usage. That covers `LLM(model=..., is_litellm=True)` and any model prefix that isn't a native provider, for example `litellm_proxy/...`....
[BUG] AI Gateway forwards OpenAI `parallel_tool_calls` into the Anthropic Messages body (Vertex Claude 400s on :rawPredict)
> [!WARNING] > Before submitting a PR, please make sure that: > - A maintainer has triaged this issue and applied the `ready` label > - This issue has no assignee > - No duplicate PR exists > > PRs not meeting these requirements may be automatically closed. ### Issues Policy...
[Bug]: Claude structured outputs are dropped after output_config.format is rejected
## Error A JSON-schema request to Claude on Bedrock Invoke (`response_format` or `output_config.format`) fails with: This is returned for Claude models that do not accept native structured output on Invoke, including `bedrock/invoke/global.anthropic.claude-sonnet-5`,...
[Bug]: Structured output skips the `<tool_call>` that implicitly ends reasoning, so GLM-4.7/5.x `required`/named tool calls are lost
> **AI disclosure:** this issue was investigated and drafted with an AI assistant (Claude). The reproducers were run on the hardware below, and every number in this issue comes from those runs. A human reviewed the issue before filing. ## Your current environment - vLLM main at...
`ChatAnthropic` sends unsupported tool choice and thinking configurations for Claude Opus 5.5
### Submission checklist - [x] This is a bug, not a usage question. - [x] I added a clear and descriptive title that summarizes this issue. - [x] I used the GitHub search to find a similar question and didn't find it. - [x] I am sure that this is a bug in LangChain rather than...
[BUG] Bedrock: Claude Opus 5.5 structured output fails with 400 because toolChoice is forced
### Description Thanks for the Bedrock structured-output support from #4280 and the "append `structured_output` without forcing" branch from #4307. With Claude Opus 5.5 on Bedrock, `response_model` / `response_format` fails with a 400 on sync, streaming and async calls. Opus 5...
[Bug]: Bedrock Claude Opus 5.5 returns plain text for response_format json_schema because json_tool_call can't be forced
### Description Thanks for adding Claude Opus 5.5 to the Bedrock cost map on launch day (#42588), and for the Fable 5.1 backstop in #39184 that already keeps these requests clear of Bedrock's forced `tool_choice` 400 One case is left: `response_format` with a `json_schema` on...
ChatAnthropic.bind_tools() raises ValueError on Anthropic's documented browser_toolset_20260801
### Submission checklist - [x] This is a bug, not a usage question. - [x] I added a clear and descriptive title that summarizes this issue. - [x] I used the GitHub search to find a similar question and didn't find it. - [x] I am sure that this is a bug in LangChain rather than...
[Bug]: StreamingAgentChatResponse silently drops ThinkingBlock and ToolCallBlock when writing to history
### Bug Description In `llama-index-core/llama_index/core/chat_engine/types.py`, `StreamingAgentChatResponse.write_response_to_history` (line 200) and `awrite_response_to_history` (line 259) call `_set_message_content(chat.message, final_text.strip())` before persisting the...
server-filesystem: missing inputSchema.type breaks JSON Schema 2020-12 validators (all versions 0.6.2–2025.8.21)
...server to work normally in the main chat window (which tolerates the missing field) but fail to start under the "Cowork and Code sessions" shared-pool context, which validates strictly. Log excerpt: [filesystem] [error] Couldn't start for Cowork and Code sessions. Error: Invalid...
Companies and products named
About this problem
Evidence
10 posts from 8 people in 7 places, about 1 a week over 51 days. Mostly on langchain-ai/langchain, crewAIInc/crewAI, BerriAI/litellm. Tools named alongside: OpenAI, DeepSeek, LangChain, Perplexity.
Frustration Frustration 0 of 3· Seen on GitHub issues
How it was grouped
Posts that state a pain and match the "structured-output" rule about Claude. First post Sep 7, 2026, latest Oct 27, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method
The same problem elsewhere
Models fail to return valid structured output
15 posts from 13 people on GitHub issues, Hacker News.
OpenAI fails to return valid structured output
12 posts from 12 people on GitHub issues, Hacker News.
Codex fails to return valid structured output
6 posts from 3 people on GitHub issues.
Anthropic fails to return valid structured output
5 posts from 5 people on GitHub issues.
LlamaIndex fails to return valid structured output
5 posts from 5 people on GitHub issues.
Model Context Protocol fails to return valid structured output
5 posts from 5 people on GitHub issues, Reddit.
Ollama fails to return valid structured output
4 posts from 3 people on GitHub issues.
vLLM fails to return valid structured output
3 posts from 3 people on GitHub issues.
GitHub fails to return valid structured output
3 posts from 3 people on GitHub issues.
Gemini fails to return valid structured output
3 posts from 3 people on GitHub issues, Reddit.
Hugging Face fails to return valid structured output
2 posts from 2 people on Reddit, GitHub issues. Unverified.
LangChain fails to return valid structured output
2 posts from 2 people on GitHub issues. Unverified.
Other Claude problems
Claude upgrades break working setups
35 posts from 34 people on GitHub issues, Reddit, Hacker News.
Claude lock-in makes switching costly
10 posts from 10 people on GitHub issues, Hacker News, Reddit.
Claude tables suffer from small files and skew
4 posts from 4 people on GitHub issues, Hacker News.
Trouble with Claude desktop
Top post: "Claude Desktop (Code tab) auto-denies CLI-native SendMessage, breaking subagent resumption; the desktop", one of 22 posts from 21 people on GitHub issues, Reddit.
Claude agents loop, stall or fail midway
6 posts from 5 people on GitHub issues, Mastodon, Hacker News.
Trouble with Claude garbage
Top post: "same as rest of the ai garbage", one of 5 posts from 5 people on App Store reviews.
Trouble with Claude agents
Top post: "Claude agents eat all usage and then fail", one of 3 posts from 3 people on Reddit, App Store reviews.
Claude app gets 1 and 2 star reviews
Top post: "iOS, daytime naps from Apple Health are merged into the night and disappear", one of 163 posts from 160 people on App Store reviews, Reddit, GitHub issues.
Claude rate limits and usage caps block work
19 posts from 19 people on Reddit, App Store reviews, GitHub issues.
Trouble with Claude anthropic
Top post: "anthropic: treat Bedrock Claude model IDs like their canonical names in the mid-conversation system message", one of 11 posts from 11 people on GitHub issues, Reddit, Community forums.
Claude runs out of context on real work
10 posts from 8 people on GitHub issues, Reddit, Hacker News.
Claude login, SSO or OAuth breaks
10 posts from 10 people on GitHub issues, Reddit, App Store reviews.
History