mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8663] [Feature]: Test an embedding model while setting it up in Connections #8448
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#8448
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 @SpicyMarinara on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8663
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
When you set up an embedding model in Connections, nothing tells you whether it works. The model editor's Semantic search embeddings section has fields for the embedding model, the Embedding endpoint URL and an Embedding connection override, but no test action. Chat models have Test provider and Send test message, and image models have Test image. A wrong model name, endpoint or key only shows up later, when lorebook vectorization or semantic search quietly fails.
There's also a related gap. The existing
POST /api/connections/:id/test-embeddingroute, which the Embeddings job picker calls silently before it assigns a model, doesn't test what real semantic search uses:baseUrland ignores Embedding endpoint URL (embeddingBaseUrl).embeddingConnectionId).Real calls resolve both (
resolveEmbeddingSourceinpackages/server/src/services/memory-recall-embedding.ts). So a test can pass while real use fails, or the other way round, whenever either override is set.Proposed solution
embeddingBaseUrlandembeddingConnectionId. The Embeddings job picker's silent check then tests the real path too.en.json, a regression for the resolution parity, a browser test for the button, and the semantic-search docs updated with a[docs-i18n]follow-up.Alternatives considered
Additional context
Requested by the maintainer. The route and the picker's check were added in the account-first Connections redesign (#8456).
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
🤖 Generated with Claude Code