feat: compatible

This commit is contained in:
Hk-Gosuto
2024-03-18 18:05:47 +08:00
parent bab838b9c6
commit 428bf81801
3 changed files with 28 additions and 42 deletions

View File

@@ -147,7 +147,7 @@ export class ChatGPTApi implements LLMApi {
method: "POST",
body: formData,
signal: controller.signal,
headers: getHeaders(),
headers: getHeaders(true),
};
// make a fetch request