Skip to content

Preserve delegation content #16064

@sdirix

Description

@sdirix

Feature Description:

Agent delegation is a powerful mechanic in which an agent can delegate a task to another agent via a tool call. It can then react on the output of the other agent.

However at the moment, the response is lost in follow up messages which is not very intuitive to the user. For example if they ask to summarize the output of the other agent after the fact, the original agent will not be able to do so.

The cause is:

  • Tool responses are stripped in our provider implementations by default for follow up requests
  • The delegation content part does not contain the agent response in its textual representation

Until we have some sort of sticky tool call mechanism (see #15728), we should at least include the response in the delegation content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    theia-aiissues related to TheiaAI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions