diff --git a/src/ai.ts b/src/ai.ts index 07b3e35..20560d3 100644 --- a/src/ai.ts +++ b/src/ai.ts @@ -141,7 +141,7 @@ export class SiteTagger { prompt: string, retryCount: number, ): Promise { - const apiUrl = `${this.config.aiInstance}/chat/completions`; + const apiUrl = `${this.config.aiInstance}/proxy/v1/chat/completions`; for (let attempt = 0; attempt <= this.config.maxRetries; attempt++) { try { const response = await fetch(apiUrl, {