Skip to content

feat: 支持会话上传文件与图片 - #69

Merged
vastsa merged 9 commits into
vastsa:mainfrom
yg2224:feat/minimax-multimodal-attachments-20260907
Sep 7, 2026
Merged

feat: 支持会话上传文件与图片#69
vastsa merged 9 commits into
vastsa:mainfrom
yg2224:feat/minimax-multimodal-attachments-20260907

Conversation

@yg2224

@yg2224 yg2224 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

变更摘要

  • 在会话输入框最左侧增加「+」上传入口,位置为「+」→「智能体」→「权限」。
  • 支持从本地选择文件、文件夹和图片,并在发送前复制到当前会话的 scratch 目录。
  • 图片附件通过结构化图片内容发送给支持视觉输入的模型;普通文件保留为会话文件引用,可由 Read 工具读取。
  • 增加附件 IPC、文件导入、草稿持久化、图片传输和输入框交互测试。

验证

  • pnpm -r --if-present test:2,033 passed,0 failed。
  • cargo test -p host-core -- --test-threads=1:301 passed,0 failed。
  • 已验证图片附件传输、普通文件导入和 Read 读取路径。
  • 本地开发服务:http://127.0.0.1:5174/

界面预览

Composer attachment menu

@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

@yg2224 is attempting to deploy a commit to the vastsa's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yg2224 yg2224 changed the title feat: 支持对话附件上传与 MiniMax 多模态模型 feat: 支持会话上传文件与图片 Sep 7, 2026
@vastsa
vastsa merged commit cb6abb3 into vastsa:main Sep 7, 2026
1 check failed
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