mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #22] Embedding generation with OpenRouter provider doesn't work (404 Not Found) #3
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#3
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 @yukariin on GitHub (Mar 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/22
Originally assigned to: @SpicyMarinara on GitHub.
Generating embeddings for lorebooks doesn't seem to work when using OpenRouter as the provider.
The error message looks like this:
A quick code search points to this line.
With OpenRouter as the connection provider,
this.baseUrlwill behttps://openrouter.ai/api/v1by default. Because the code appends/v1/embeddings, this results in the final URLhttps://openrouter.ai/api/v1/v1/embeddings(notice the duplicatev1/v1), which is NOT correct for OpenRouter embeddings.The correct URL should be
https://openrouter.ai/api/v1/embeddings, according to the official OpenRouter documentation.@SpicyMarinara commented on GitHub (Mar 24, 2026):
Fixed.
docs/ARCHITECTURE_MAP.mdis out of date - stale file counts, service inventory, and already-done refactors #1744