Skip to content

并行任务共享任务上下文描述,节省main agent decoding的压力 || Parallel tasks share task context descriptions, saving the pressure of main agent decoding #1362

@littletiny

Description

@littletiny

What feature would you like to see?

当前 Task 工具只接受单个 prompt 参数,parent agent 必须每次重复解码完整的共享背景

Task 工具内置支持二阶段 prompt 结构:
Task(sections=[
{"type": "shared", "content": "共享背景..."},
{"type": "task", "content": "具体任务..."}
])

Additional information

No response


What feature would you like to see?

Currently the Task tool only accepts a single prompt parameter, and the parent agent must repeatedly decode the complete shared context each time

The Task tool has built-in support for the two-stage prompt structure:
Task(sections=[
{"type": "shared", "content": "Shared background..."},
{"type": "task", "content": "Specific tasks..."}
])

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions