mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5312] [Other] Anthropic route rejects claude-5-5-sonnet model name — breaks Claude Desktop integration #3169
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gzewani on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5312
Problem: Claude Desktop cannot connect to Strata because it sends hardcoded model name "claude-5-5-sonnet" which Strata now rejects with HTTP 400. In older versions (console/source install), the Anthropic route accepted any model name and used the loaded model.
Environment: Strata 0.2.11, Engine 0.1.57, Windows 11, RTX 3060 12GB, 128GB RAM, Qwen3.8-Flash-Next IQ3_S (ID: iq3_s)
Reproduce:
Expected: Anthropic route accepts any model name and routes to the loaded model (like llama-server's --alias behavior)
Actual:
Claude Desktop sends:
POST /v1/messages
{"model": "claude-5-5-sonnet", "messages": [...]}
Strata responds HTTP 400:
{"error": {"message": "Choose a loaded model ID.", "type": "invalid_request_error", "param": "model"}}
Evidence: GET /v1/models returns {"data": [{"id": "iq3_s", "label": "Qwen3.8-Flash-Next IQ3_S"}]}. Model is loaded as "iq3_s", but Claude Desktop sends "claude-5-5-sonnet" (hardcoded, cannot be changed in Claude Desktop config).
Tried adding to strata-.json:
{
"model_aliases": {"claude-5-5-sonnet": "iq3_s"},
"strict_model": false
}
Neither worked — 400 error persists.
Reproduction status: Reproduced locally
@github-actions[bot] commented on GitHub (Nov 5, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@github-actions[bot] commented on GitHub (Nov 5, 2026):
Thanks, this follows the format now.
@Niko1221 commented on GitHub (Nov 7, 2026):
Fixed: on
/v1/messages, a request forclaude-5-5-sonnet(or any other model name) now uses the one loaded model, in the Python server and in the desktop app's gateway (c49f198c7,ea765a571).Released in Strata v0.2.12: https://github.com/Niko1221/Strata/releases/tag/v0.2.12