Skip to content

fix(tui,session,config): 修复 review 问题并补测试覆盖#27

Merged
phantom5099 merged 1 commit into
mainfrom
fork-pr-337-1776410957
Apr 17, 2026
Merged

fix(tui,session,config): 修复 review 问题并补测试覆盖#27
phantom5099 merged 1 commit into
mainfrom
fork-pr-337-1776410957

Conversation

@fennoai

@fennoai fennoai Bot commented Apr 17, 2026

Copy link
Copy Markdown

Requested by @phantom5099

Summary

  • 修复 TUI 内联图片吸收的信任边界与文本格式问题:仅接受 @image: 前缀并保留原始空白布局
  • 修复会话附件保存失败时的新建会话残留问题:新增 JSONStore 场景回滚
  • 修复自定义 provider 目录加载语义:读取路径不再强制创建目录
  • 修复用户消息去重策略:按 run id 去重,允许连续同文案消息
  • 新增/更新回归测试并通过 go test ./...

…overage

- require explicit @image: token and preserve whitespace when absorbing inline image refs
- dedupe user-message rendering by run id instead of message content
- rollback newly created session when asset save fails
- make custom provider directory load read-only friendly when directory is missing
- add/adjust tests for all updated behaviors

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: phantom5099 <245659304+phantom5099@users.noreply.github.com>
@phantom5099 phantom5099 merged commit 5d5e51c into main Apr 17, 2026
1 check passed
@fennoai fennoai Bot deleted the fork-pr-337-1776410957 branch April 17, 2026 07:48
phantom5099 pushed a commit that referenced this pull request Apr 21, 2026
fix: tighten inline subagent capability and output contract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants