mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 02:12:38 +00:00
perf: chat completion api
This commit is contained in:
@@ -54,7 +54,8 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
history: gptMessage2ChatType(history),
|
||||
userChatInput: prompt
|
||||
},
|
||||
stream: true
|
||||
stream: true,
|
||||
detail: true
|
||||
});
|
||||
|
||||
sseResponse({
|
||||
|
Reference in New Issue
Block a user