Laitool v3.0.1-preview.1

This commit is contained in:
2024-08-03 12:46:12 +08:00
parent c8a46d59fb
commit 7312053a20
196 changed files with 19822 additions and 8733 deletions
+2 -3
View File
@@ -5,7 +5,7 @@ import { define } from "../../define/define";
let fspromises = require("fs").promises;
import { gptDefine } from "../../define/gptDefine";
import { apiUrl } from "../../define/api/apiUrlDefine";
import { successMessage } from "../generalTools";
import { successMessage } from "../Public/generalTools";
export class GPT {
constructor(global) {
@@ -282,8 +282,7 @@ export class GPT {
url: gpt_url,
headers: {
'Authorization': `Bearer ${gpt_key}`,
'Content-Type': 'application/json',
"Accept": "application/json"
'Content-Type': 'application/json'
},
data: JSON.stringify(data)
};