mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2426] [Issue]: 11-PROV-RUNTIME-embedding-transport rejects Claude Subscription embeddings #1187
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1187
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 @Promansis on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2426
Originally assigned to: @Xelvanis on GitHub.
Summary
Surface
11-PROV-RUNTIME-embedding-transport: Claude Subscription embedding requests are no longer rejected before transport. Refactor falls through to the OpenAI-compatible embedding path instead of returning the legacy guidance to configure a separate embedding connection.Expected behavior
Claude Subscription connections should reject embedding requests with a clear unsupported-provider error and tell users to configure a separate embedding-capable connection.
Actual behavior
embed_textonly rejectsopenai_chatgpt;claude_subscriptiondoes not have a rejection branch and falls through toembed_openai_compatible.Steps to reproduce
claude_subscription.llm_embedor/api/sidecar/v1/embeddingswith that connection and an embedding input.Impact area
Environment
Logs, screenshots, or video
Static proof only:
main:packages/server/src/services/llm/providers/claude-subscription.provider.ts:591.openai_chatgpt, sends Google/Vertex to Google, Ollama to Ollama, and sends every other provider to OpenAI-compatible embeddings:src-tauri/src/commands/storage/prompts.rs:512.llm_embedand/api/sidecar/v1/embeddingsboth route through the same refactor embedding resolver/transport:src-tauri/src/commands/storage/llm.rs:111,src-tauri/src/http_server.rs:1111.Regression notes
Legacy behavior exists on
main: Claude Subscription providerembed()throws a clear unsupported-provider error and separate-connection guidance. Refactor lacks equivalent rejection forclaude_subscription.Additional context
Source tracker: #2410.
Acceptance criteria:
11-PROV-RUNTIME-embedding-transportrejectsclaude_subscriptionembedding requests before any provider HTTP call.llm_embedand/api/sidecar/v1/embeddingssurface clear separate-embedding-connection guidance for Claude Subscription.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: