Support non-image uploads in the composer
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 55/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
- 領域
- frontend
研究方向
Start by finding where the composer currently handles uploads, especially image paste/drop paths (search the TypeScript source for upload, clipboard, or paste handling), and read parent issue #6 plus the linked TODO.md for the intended behavior. Decide what 'done' means for non-image files — accepted, not rendered as an image preview, and correctly attached — and use that as your acceptance check, since no tests or files are named in the issue.
由索引模型根據 Issue 內容生成。
描述
Support non-image uploads in the composer.
Tracked by #6. Migrated from TODO.md — Port from old Ace.
Progress
- Text files: sent with the message as
filesand read by every model (#469) - PDFs: the app extracts their text with pdf.js and sends it as a text file. No protocol or storage change (#479)
- Open an attached file's contents from the timeline: the file block opens
FileViewin a dialog (#479) - Scanned PDFs and other binary files (zip, docx, xlsx, …). pi-ai 1.0.0 has no document content block, so this needs one in pi, or OCR, or workspace placement plus a tool that can read the file
- Guard against attachments larger than the model's context. The 1.5 MB budget counts bytes, and ~1 MB of multilingual PDF text came to 466K tokens. That run fails, and so does every later run in the chat, until the message is deleted
- 主要語言
- TypeScript
- 星號
- 1
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
githubnext/ace2 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 67/100
githubnext/ace2#459 ·
-
難度 1/5 1 小時以內 新手友好度 88/100
githubnext/ace2#437 ·
-
難度 4/5 3-5 天 新手友好度 35/100
githubnext/ace2#442 ·
-
難度 3/5 1-2 天 新手友好度 40/100
githubnext/ace2#440 ·
-
難度 4/5 3-5 天 新手友好度 25/100
githubnext/ace2#430 ·
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
auth: agent-bearer --manager-call is told to use the MCP instance argument on an ambiguous manager未關閉
難度 2/5 1-3 小時 新手友好度 80/100
維護者通常 1 天內回覆
-
bug module: playback
難度 2/5 1-3 小時 新手友好度 68/100
chthollyphile/folia-major#739 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 90/100
-
難度 2/5 1-3 小時 新手友好度 78/100
agilepathway/label-checker#773 · 2 則留言 ·
維護者通常 1 天內回覆