You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pi.registerMarkdownTransformer 是正确入口:官方文档明确它是 display-only——「the original message remains unchanged in the session and model context」,对 messageType === "user" 的超长输入返回截断预览,显示折叠、上下文完整,正好是本需求
提议
新扩展(或并入现有 ui 相关扩展),用 registerMarkdownTransformer:
messageType === "user" && 非流式 && 行数/字符数超阈值
→ 显示:前 N 行 + dim 的 "… 已折叠 X 行(全文已完整发给模型)"
Activity
feat(user-input-fold): 超长用户输入在 transcript 里折叠显示 (openpi-dev#42)