Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
现有问题
左上角的会话搜索只匹配会话标题。用户即使记得对话中的某个关键词,只要标题没有这个词,就无法找到对应会话。
搜索结果也只展示标题、智能体和时间,无法判断关键词出现在哪条消息里;打开会话后,还需要手动翻找历史消息。
改动
正文由现有智能体解析器按需读取原始会话记录,不新增数据库迁移或持久化全文索引。会话较多时,搜索成本随待读取的历史记录增加;无法读取正文的会话仍可按标题匹配。
界面对比
修改前
内置搜索仅显示标题,无法预览正文命中,也无法从搜索结果直接定位到具体消息。
修改后
内置搜索展示正文上下文、角色徽标和关键词高亮,点击命中片段可定位到对应消息。
测试
0dcae9e3b88d540e0bd8de89aa562362e7eaa7c1:13 项任务中 12 项成功,1 项因 runner 资源不足取消。