Skip to content

File change set functions always set the title to "by Coder" even if it comes from a different agent #15950

@Hanksha

Description

@Hanksha

Bug Description:

The file change set functions like suggestFileContent in file-changeset-functions.ts always set the change set title to 'Changes proposed by Coder' instead of using the current agent's name that called the tool.

Steps to Reproduce:

  1. Create a custom agent with a prompt like this which will suggest file content:
You are an agent that writes poem files for the user in a workspace.
Follow the instructions of the user to write a poem and suggest the file content using this tool: ~{suggestFileContent}
Poem files should always be at the root of the workspace and use the .txt file extension.
## Current Context
Some files and other pieces of data may have been added by the user to the context of the chat. If any have, the details can be found below.
{{contextDetails}}
  1. Chat with the agent to suggest file content.
  2. The change set title reads 'Changes proposed by Coder' instead of the current agent's name.

Image

Additional Information

  • Operating System: Windows
  • Theia Version: 1.63

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions