mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #982] [MERGED] Fix lorebook vectorization timeout #4869
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#4869
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/982
Author: @cha1latte
Created: 5/18/2026
Status: ✅ Merged
Merged: 5/18/2026
Merged by: @cha1latte
Base:
staging← Head:fix/issue-979-vectorization-timeout📝 Commits (2)
9442236Fix embedding vectorization timeoutec7af19Harden embedding timeout parsing📊 Changes
5 files changed (+27 additions, -7 deletions)
View changed files
📝
.env.example(+2 -0)📝
docs/CONFIGURATION.md(+2 -1)📝
packages/server/src/config/runtime-config.ts(+10 -0)📝
packages/server/src/services/llm/base-provider.ts(+6 -4)📝
packages/server/src/services/llm/providers/local-sidecar.provider.ts(+7 -2)📄 Description
Linked issue
Closes #979
Why this change
What changed
EMBEDDING_TIMEOUT_MSwith a 300000 ms default for embedding provider requests..env.exampleanddocs/CONFIGURATION.md.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
packages\server\node_modules\.bin\tsx.cmd scratch\issue-979-embedding-timeout-repro.ts before: the provider requestedAbortSignal.timeout(60000)and the scaled fake slow embedding response was aborted.packages\server\node_modules\.bin\tsx.cmd scratch\issue-979-embedding-timeout-repro.ts after: the provider requested300000ms and completed the fake slow embedding response.EMBEDDING_TIMEOUT_MS=200000using the same scratch harness: the provider requested200000ms and completed the fake slow embedding response.pnpm check; impeccable context check, lint, and build passed.Docs and release impact
Docs updated:
.env.exampleanddocs/CONFIGURATION.mdnow includeEMBEDDING_TIMEOUT_MS. No version or release files changed.UI evidence (if applicable)
N/A - non-visual backend/configuration fix.
Summary by CodeRabbit
New Features
EMBEDDING_TIMEOUT_MSenvironment variable for improved support of slow local embedding servers.Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.