[GH-ISSUE #5312] [Other] Anthropic route rejects claude-5-5-sonnet model name — breaks Claude Desktop integration #3169

Closed
opened 2026-11-07 14:38:37 +07:00 by bsakaguchi · 3 comments
Owner

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:

  1. Start Strata with any model
  2. Configure Claude Desktop to point at Strata (http://127.0.0.1:PORT/v1)
  3. Send any message in Claude Desktop
  4. Observe HTTP 400 error

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

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: 1. Start Strata with any model 2. Configure Claude Desktop to point at Strata (http://127.0.0.1:PORT/v1) 3. Send any message in Claude Desktop 4. Observe HTTP 400 error 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-<model>.json: { "model_aliases": {"claude-5-5-sonnet": "iq3_s"}, "strict_model": false } Neither worked — 400 error persists. Reproduction status: Reproduced locally
Author
Owner

@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:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

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

<!-- gh-comment-id:6660747621 --> @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: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". 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](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6660966827 --> @github-actions[bot] commented on GitHub (Nov 5, 2026): Thanks, this follows the format now.
Author
Owner

@Niko1221 commented on GitHub (Nov 7, 2026):

Fixed: on /v1/messages, a request for claude-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

<!-- gh-comment-id:6704751204 --> @Niko1221 commented on GitHub (Nov 7, 2026): Fixed: on `/v1/messages`, a request for `claude-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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3169
No description provided.