mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
enhancement: use baseUrl from arguments rather than read only property that no longer exists.
This commit is contained in:
parent
bc0b5a49f6
commit
32310227b0
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ export class OpenRouterEmbedder implements IEmbedder {
|
|||
// Wrap OpenAI client creation to handle invalid API key characters
|
||||
try {
|
||||
this.embeddingsClient = new OpenAI({
|
||||
baseURL: this.baseUrl,
|
||||
baseURL: baseUrl,
|
||||
apiKey: apiKey,
|
||||
defaultHeaders: {
|
||||
"HTTP-Referer": "https://github.com/RooCodeInc/Roo-Code",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue