feat(canvas): 云端 Agent - 缩减画布目录上下文并展示实时用量

This commit is contained in:
ddcat666 committed 2026-09-24 23:54:59 +08:00
1 parent 56b1e36d7e
commit 98f1b31e20
12 files changed
+877 -76

No files matched your search

@@ -58,7 +58,7 @@ const permissionOptions: Array<{ value: AgentPermissionMode; label: string; desc
];
const contextOptions: Array<{ value: AgentContextKey; label: string; description: string }> = [
{ value: "canvas", label: "已保存画布摘要", description: "最多 80 个节点的标题与文本片段,不含媒体正文或未同步修改" },
{ value: "canvas", label: "画布节点目录", description: "每次请求只带节点 id、类型和标题;正文按页读取,不含媒体或未同步修改" },
];
const reasoningOptions: Array<{ value: AgentReasoningMode; label: string; description: string }> = [