mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-01 11:58:38 +00:00
fix: table and message
This commit is contained in:
@@ -195,7 +195,7 @@ export default withNextCors(async function handler(req: NextApiRequest, res: Nex
|
||||
usage: { prompt_tokens: 1, completion_tokens: 1, total_tokens: 1 },
|
||||
choices: [
|
||||
{
|
||||
message: [{ role: 'assistant', content: answerText }],
|
||||
message: { role: 'assistant', content: answerText },
|
||||
finish_reason: 'stop',
|
||||
index: 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user