Laitool v3.0.1-preview.1
This commit is contained in:
@@ -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)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user