From ab021d0caab31bab841968d0718eed62984f4c28 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Tue, 14 Feb 2023 19:04:18 +0800 Subject: [PATCH] fix: api -> reverseProxyUrl --- apps/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/chat.js b/apps/chat.js index d5a2166..9e7eb96 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -413,7 +413,7 @@ export class chatgpt extends plugin { upsertMessage, getMessageById, completionParams, - apiBaseUrl: Config.api || 'https://api.openai.com', + apiReverseProxyUrl: Config.api, assistantLabel: Config.assistantLabel }) const currentDate = new Date().toISOString().split('T')[0]