perf: supplement assistant empty response (#3669)

* perf: supplement assistant empty response

* check array
This commit is contained in:
Archer
2025-01-27 21:19:03 +08:00
committed by archer
parent c3d55d5c8f
commit 9e0379382f
3 changed files with 309 additions and 204 deletions

View File

@@ -35,4 +35,5 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4820' \
3. 新增 - markdown 语法扩展,支持音视频(代码块 audio 和 video
4. 优化 - 页面组件抽离,减少页面组件路由。
5. 优化 - 全文检索,忽略大小写。
6. 优化 - 问答生成和增强索引改成流输出,避免部分模型超时。
6. 优化 - 问答生成和增强索引改成流输出,避免部分模型超时。
7. 优化 - 自动给 assistant 空 content补充 null同时合并连续的 text assistant避免部分模型抛错。