Skip to content

Batch OpenRouter embeddings during indexing#111

Merged
uchebnick merged 1 commit into
mainfrom
feat/openrouter-embedding-batching
May 14, 2026
Merged

Batch OpenRouter embeddings during indexing#111
uchebnick merged 1 commit into
mainfrom
feat/openrouter-embedding-batching

Conversation

@uchebnick
Copy link
Copy Markdown
Owner

Summary

  • add batched OpenRouter embedding requests for indexed symbols
  • run indexing embeddings through a bounded worker pool
  • retry temporary failures, split oversized batches, and respect capped Retry-After delays

Tests

  • go test ./internal/indexing ./internal/embed/openrouter
  • go test ./...

@uchebnick uchebnick merged commit bbe9d45 into main May 14, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant