-e > Priority: P0
Labels: area:context, area:cost
Progress: In Progress
Reference: View Document
Problem / 问题
Subagents start from scratch. Each sends full conversation history to API. 5 Subagents = 5x prompt cost. Users must repeat context in each Subagent.
Subagent 从零开始,每个都发送完整对话历史给 API。5 个 Subagent = 5 倍 prompt 费用。用户需在每个 Subagent 中重复描述背景。
Benefit / 收益
Fork inherits full parent context. Shared prompt cache saves 80%+ tokens. Zero context loss. 5 Subagents share one cached prefix.
Fork 继承完整父上下文,共享 prompt cache 节省 80%+ token。零上下文丢失,5 个 Subagent 共享一份缓存前缀。
-e > Priority: P0
Problem / 问题
Subagents start from scratch. Each sends full conversation history to API. 5 Subagents = 5x prompt cost. Users must repeat context in each Subagent.
Subagent 从零开始,每个都发送完整对话历史给 API。5 个 Subagent = 5 倍 prompt 费用。用户需在每个 Subagent 中重复描述背景。
Benefit / 收益
Fork inherits full parent context. Shared prompt cache saves 80%+ tokens. Zero context loss. 5 Subagents share one cached prefix.
Fork 继承完整父上下文,共享 prompt cache 节省 80%+ token。零上下文丢失,5 个 Subagent 共享一份缓存前缀。