mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 08:06:38 +08:00
fix little bug
This commit is contained in:
parent
a3c4f10713
commit
45913941e8
@ -173,7 +173,7 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
} else {
|
} else {
|
||||||
chatPath = this.path(OpenaiPath.ChatPath);
|
chatPath = this.path(OpenaiPath.ChatPath);
|
||||||
}
|
}
|
||||||
console.log('333333', chatPath)
|
// console.log('333333', chatPath)
|
||||||
const chatPayload = {
|
const chatPayload = {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify(requestPayload),
|
body: JSON.stringify(requestPayload),
|
||||||
|
@ -707,7 +707,7 @@ export const useChatStore = createPersistStore(
|
|||||||
extAttr?.setAutoScroll(true);
|
extAttr?.setAutoScroll(true);
|
||||||
} else {
|
} else {
|
||||||
const api: ClientApi = getClientApi(modelConfig.providerName)
|
const api: ClientApi = getClientApi(modelConfig.providerName)
|
||||||
console.log('-------', modelConfig, '-----', api)
|
// console.log('-------', modelConfig, '-----', api)
|
||||||
|
|
||||||
// make request
|
// make request
|
||||||
api.llm.chat({
|
api.llm.chat({
|
||||||
|
Loading…
Reference in New Issue
Block a user