Skip to content

feat(chat): 完善 AIDP 来源信息、图片预览和下载 - #4094

Merged
jeffwu-1999 merged 9 commits into
developfrom
feat_gt_261014_02
Oct 15, 2026
Merged

jeffwu-1999 merged 9 commits into
developfrom
feat_gt_261014_02

Conversation

@gtTree

@gtTree gtTree commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

完善聊天右侧来源信息展示,支持 AIDP 来源元数据、受保护图片预览和文件下载,并在历史会话中恢复引用来源信息。

改动

  • 统一来源元数据组件、来源面板及主题样式。
  • 持久化引用来源快照,并补充后端、SDK 和数据库迁移。
  • 完善 AIDP 下载校验及 localhost 环境下受保护图片的代理访问。

验证

已在本地验证聊天右侧引入知识库功能
image
图片引用验证
image
image

@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread frontend/lib/source.ts Outdated
Comment thread frontend/app/[locale]/newchat/adapter/remote-chat-model-adapter.ts
Comment thread frontend/app/[locale]/newchat/ui/sources-panel.tsx Outdated
Comment thread deploy/sql/migrations/v2.7.1_002_chat_source_snapshots.sql Outdated
@jeffwu-1999
jeffwu-1999 merged commit 0dbfb3b into develop Oct 15, 2026
16 checks passed
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.

4 participants