fix: Add back openRouterBaseUrl to settings schema (Accidentally removed)

- Remove unused variable from config manager
This commit is contained in:
Toray Altas 2025-12-28 13:44:00 -05:00
parent 8694b5bdf8
commit 1e970cc8ae
2 changed files with 1 additions and 1 deletions

View file

@ -205,6 +205,7 @@ const claudeCodeSchema = apiModelIdProviderModelSchema.extend({})
const openRouterSchema = baseProviderSettingsSchema.extend({
openRouterApiKey: z.string().optional(),
openRouterModelId: z.string().optional(),
openRouterBaseUrl: z.string().optional(),
openRouterSpecificProvider: z.string().optional(),
})

View file

@ -275,7 +275,6 @@ export class CodeIndexConfigManager {
return isConfigured
} else if (this.embedderProvider === "openrouter") {
const apiKey = this.openRouterOptions?.apiKey
const openRouterBaseUrl = this.openRouterOptions?.openRouterBaseUrl
const qdrantUrl = this.qdrantUrl
const isConfigured = !!(apiKey && qdrantUrl)
return isConfigured