fix: save chat

This commit is contained in:
archer
2023-07-11 23:39:58 +08:00
parent b2e2f60e0d
commit eb68b35ddf
5 changed files with 112 additions and 2 deletions

View File

@@ -124,6 +124,7 @@ export default withNextCors(async function handler(req: NextApiRequest, res: Nex
historyId,
newHistoryId,
appId,
variables,
prompts: [
prompt,
{