[GH-ISSUE #5252] [Issue]: Embedings seems not work on openrouter or nano-gpt #2908

Closed
opened 2026-10-21 05:57:53 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @szaki2 on GitHub (Aug 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5252

Originally assigned to: @SpicyMarinara on GitHub.

Summary

I try nano-gpt but both give me the same error message when i use the right embeding url

Expected behavior

Memory vectorization working

Actual behavior

Get a error message

Steps to reproduce

  1. For nano-gpt configure the connection embeding url https://nano-gpt.com/api/v1/embeddings model Qwen/Qwen3-Embedding-8B
  2. Try vectorize the memory in any converstion

Environment

  • Marinara Engine version: 2.4.4
  • Install type: (source / installer / docker / termux / other) windows installer
  • OS + version: windows 11
  • Browser or app shell: browser brave

Logs, screenshots, or video

{"level":40,"time":1787139429125,"pid":51376,"hostname":"Gabor-Desktop","err":{"type":"LLMHttpError","message":"Embedding request failed (404): NanoGPT","stack":"LLMHttpError: Embedding request failed (404): NanoGPT\n at llmHttpErrorFromResponse (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/llm/base-provider.js:85:12)\n at OpenAIProvider.embed (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/llm/base-provider.js:566:19)\n at async withConnectionAdmission (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/generation/connection-admission.js:148:24)\n at async RateLimitAwareProvider.embed (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/llm/rate-limit-aware-provider.js:138:24)\n at async Object.embed (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/memory-recall-embedding.js:165:24)\n at async embedMemoryRecallTexts (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/memory-recall.js:74:38)\n at async chunkAndEmbedMessagesUnlocked (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/memory-recall.js:267:24)\n at async file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/memory-recall.js:315:9\n at async serializeMemoryMutation (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/memory-recall.js:33:16)\n at async Object. (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/routes/chats.routes.js:1665:25)","status":404,"name":"LLMHttpError"},"msg":"[memory-recall] Configured embedding source NanoGPT GLM52 thinking (qwen/qwen3-embedding-8b) failed"}

Additional context

https://docs.nano-gpt.com/api-reference/endpoint/embeddings

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • [] I DID NOT read this template and provide the requested details.
Originally created by @szaki2 on GitHub (Aug 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5252 Originally assigned to: @SpicyMarinara on GitHub. ## Summary I try nano-gpt but both give me the same error message when i use the right embeding url ## Expected behavior Memory vectorization working ## Actual behavior Get a error message ## Steps to reproduce 1. For nano-gpt configure the connection embeding url https://nano-gpt.com/api/v1/embeddings model Qwen/Qwen3-Embedding-8B 2. Try vectorize the memory in any converstion 3. ## Environment - Marinara Engine version: 2.4.4 - Install type: (source / installer / docker / termux / other) windows installer - OS + version: windows 11 - Browser or app shell: browser brave ## Logs, screenshots, or video <!-- Paste relevant logs and add screenshots when possible --> {"level":40,"time":1787139429125,"pid":51376,"hostname":"Gabor-Desktop","err":{"type":"LLMHttpError","message":"Embedding request failed (404): NanoGPT","stack":"LLMHttpError: Embedding request failed (404): NanoGPT\n at llmHttpErrorFromResponse (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/llm/base-provider.js:85:12)\n at OpenAIProvider.embed (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/llm/base-provider.js:566:19)\n at async withConnectionAdmission (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/generation/connection-admission.js:148:24)\n at async RateLimitAwareProvider.embed (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/llm/rate-limit-aware-provider.js:138:24)\n at async Object.embed (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/memory-recall-embedding.js:165:24)\n at async embedMemoryRecallTexts (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/memory-recall.js:74:38)\n at async chunkAndEmbedMessagesUnlocked (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/memory-recall.js:267:24)\n at async file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/memory-recall.js:315:9\n at async serializeMemoryMutation (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/services/memory-recall.js:33:16)\n at async Object.<anonymous> (file:///C:/Users/szaki/AppData/Local/Marinara-Engine/packages/server/dist/routes/chats.routes.js:1665:25)","status":404,"name":"LLMHttpError"},"msg":"[memory-recall] Configured embedding source NanoGPT GLM52 thinking (qwen/qwen3-embedding-8b) failed"} ## Additional context https://docs.nano-gpt.com/api-reference/endpoint/embeddings ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:57:53 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 19, 2026):

Looks like an error on your provider's end, but let me check for sure.

<!-- gh-comment-id:5342484461 --> @SpicyMarinara commented on GitHub (Aug 19, 2026): Looks like an error on your provider's end, but let me check for sure.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 19, 2026):

Taking this on in fix/issues-5252-5256-embedding-startup. The provider docs confirm the reported full /embeddings URL is valid; Marinara currently appends a second /embeddings. A draft PR will follow with regression coverage.

<!-- gh-comment-id:5342609084 --> @SpicyMarinara commented on GitHub (Aug 19, 2026): Taking this on in `fix/issues-5252-5256-embedding-startup`. The provider docs confirm the reported full `/embeddings` URL is valid; Marinara currently appends a second `/embeddings`. A draft PR will follow with regression coverage.
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
Pasta-Devs/Marinara-Engine#2908
No description provided.