[GH-ISSUE #1747] [Issue]: Can't vectorize a lorebook with local sidecar connection #853

Closed
opened 2026-10-21 05:22:18 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @issuj on GitHub (May 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1747

Originally assigned to: @cha1latte on GitHub.

Summary

Trying to vectorize a lorebook after setting up the Local Model (sidecar) gives an "internal server error".

Expected behavior

I expect there should be a working way for me to vectorize the lorebook. I'm not sure if the Local Model should show up in the embeddings selection list or not.

Actual behavior

I choose the local model, push the button and get an error.

Steps to reproduce

  1. Install the local model run time and set up the local model with curated preset
  2. Open a lorebook -> Overview -> Semantic Search (Embeddings)
  3. Choose the local model you just set up from dropdown
  4. Click on the "Vectorize N missing" button

Environment

  • Marinara Engine version: 1.6.1
  • Install type: Docker (container built from github repo tag locally)
  • OS + version: Ubuntu 24.04
  • Browser or app shell: Firefox

Logs, screenshots, or video

Image

Stack from logs:

Error: Local sidecar embedding request failed (501): This server does not support embeddings. Start it with `--embeddings`
    at LocalSidecarProvider.requestOpenAIEmbeddings (file:///app/packages/server/dist/services/llm/providers/local-sidecar.provider.js:73:19)
    at async LocalSidecarProvider.embed (file:///app/packages/server/dist/services/llm/providers/local-sidecar.provider.js:53:20)
    at async Object.<anonymous> (file:///app/packages/server/dist/routes/lorebooks.routes.js:697:32)

Additional context

Somehow, vectorization does seem to work for the Memory Recall feature.

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 @issuj on GitHub (May 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1747 Originally assigned to: @cha1latte on GitHub. ## Summary Trying to vectorize a lorebook after setting up the Local Model (sidecar) gives an "internal server error". ## Expected behavior I expect there should be a working way for me to vectorize the lorebook. I'm not sure if the Local Model should show up in the embeddings selection list or not. ## Actual behavior I choose the local model, push the button and get an error. ## Steps to reproduce 1. Install the local model run time and set up the local model with curated preset 2. Open a lorebook -> Overview -> Semantic Search (Embeddings) 3. Choose the local model you just set up from dropdown 4. Click on the "Vectorize N missing" button ## Environment - Marinara Engine version: 1.6.1 - Install type: Docker (container built from github repo tag locally) - OS + version: Ubuntu 24.04 - Browser or app shell: Firefox ## Logs, screenshots, or video <img width="817" height="156" alt="Image" src="https://github.com/user-attachments/assets/899ad68d-b442-4e16-a821-ba44477fa456" /> Stack from logs: ``` Error: Local sidecar embedding request failed (501): This server does not support embeddings. Start it with `--embeddings` at LocalSidecarProvider.requestOpenAIEmbeddings (file:///app/packages/server/dist/services/llm/providers/local-sidecar.provider.js:73:19) at async LocalSidecarProvider.embed (file:///app/packages/server/dist/services/llm/providers/local-sidecar.provider.js:53:20) at async Object.<anonymous> (file:///app/packages/server/dist/routes/lorebooks.routes.js:697:32) ``` ## Additional context Somehow, vectorization does seem to work for the Memory Recall feature. ## 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:22:18 +07:00
Author
Owner

@cha1latte commented on GitHub (May 31, 2026):

fixed in #1753

<!-- gh-comment-id:4588125191 --> @cha1latte commented on GitHub (May 31, 2026): fixed in #1753
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#853
No description provided.