feat: add OpenAI batch memory indexing

This commit is contained in:
Peter Steinberger
2026-01-17 22:31:12 +00:00
parent acc3eb11d0
commit a31a79396b
11 changed files with 587 additions and 38 deletions

View File

@@ -24,7 +24,7 @@ vi.mock("./embeddings.js", () => {
model: "mock-embed",
embedQuery: async () => [0, 0, 0],
embedBatch: async () => {
throw new Error("openai embeddings failed: 429 insufficient_quota");
throw new Error("openai embeddings failed: 400 bad request");
},
},
}),