mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
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:
parent
d532401459
commit
289553fa4a
1 changed files with 1 additions and 1 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue