Update src/services/code-index/embedders/openrouter.ts

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
This commit is contained in:
T 2025-12-26 16:35:17 +00:00 committed by GitHub
parent d532401459
commit 289553fa4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,8 +64,8 @@ export class OpenRouterEmbedder implements IEmbedder {
apiKey: string,
modelId?: string,
maxItemTokens?: number,
openRouterBaseUrl?: string,
specificProvider?: string,
openRouterBaseUrl?: string,
) {
if (!apiKey) {
throw new Error(t("embeddings:validation.apiKeyRequired"))