fix nai issue
This commit is contained in:
@@ -814,7 +814,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
|
|||||||
"parameters":payload
|
"parameters":payload
|
||||||
}
|
}
|
||||||
|
|
||||||
const da = await globalFetch("https://api.novelai.net/ai/generate", {
|
const da = await globalFetch(aiModel === 'novelai_kayra' ? "https://text.novelai.net/ai/generate" : "https://api.novelai.net/ai/generate", {
|
||||||
body: body,
|
body: body,
|
||||||
headers: {
|
headers: {
|
||||||
"Authorization": "Bearer " + db.novelai.token
|
"Authorization": "Bearer " + db.novelai.token
|
||||||
|
|||||||
Reference in New Issue
Block a user