mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: Add back openRouterBaseUrl to settings schema (Accidentally removed)
- Remove unused variable from config manager
This commit is contained in:
parent
8694b5bdf8
commit
1e970cc8ae
2 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue