You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
llm-backendIssue is about an LLM Backend, provider or type. (Eg. Ollama, vllm)resolvedIssue is resolved and merged.routingThis issue is with routingsecuritysecurity related issue
Hi there! First of all, thank you so much for building and open-sourcing Olla.
Currently, when using Olla as an Anthropic proxy for the latest versions of Claude Code (v2.1.156+), the API request fails immediately with a 400 error.
This happens because Claude Code recently introduced a new field called context_management in its Anthropic JSON payload. Olla's strict JSON parser rejects the entire request because it doesn't recognize this unknown field.
Error Log from Claude Code:
"result":"API Error: 400 failed to parse Anthropic request: json: unknown field \"context_management\""
Right now, to even get Claude Code to connect to Olla, we must export a specific environment variable before running it:
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1
Thank you so much for your time and help. Really appreciate your hard work on this project! 🚀
Thanks for reporting this, we initially blocked unknown fields due to a security audit for FoundryOS which Olla shares design/arch from, but later we realised this wasn't a valid concern.
We'll address this in a coming release and remove the blocking of unknown fields etc and pass-through (as a proxy should).
Validated: maintainer confirmed merge in PR #157 ("fix: be lenient for anthropic parsing"). This issue appears complete; suggest closing if your hygiene policy closes post-merge resolved items.
llm-backendIssue is about an LLM Backend, provider or type. (Eg. Ollama, vllm)resolvedIssue is resolved and merged.routingThis issue is with routingsecuritysecurity related issue
Activity
thushan commentedon Jun 4, 2026
Thanks for reporting this, we initially blocked unknown fields due to a security audit for FoundryOS which Olla shares design/arch from, but later we realised this wasn't a valid concern.
We'll address this in a coming release and remove the blocking of unknown fields etc and pass-through (as a proxy should).
thushan commentedon Jun 4, 2026
it's now merged to main, ready for the next release!
Thanks for making Olla great for Claude Code users.
petersimmons1972 commentedon Jun 7, 2026
Validated: maintainer confirmed merge in PR #157 ("fix: be lenient for anthropic parsing"). This issue appears complete; suggest closing if your hygiene policy closes post-merge resolved items.