Skip to content

agent description used in /agent command are cutoff #4825

@ferrao

Description

@ferrao

Description

Whenever you create a new agent with the command opencode agent create, it will result in an agent file with a very extensive description field, which instructs the model on when to use this agent.

The problem is that this field is then used by the /agents command, resulting in something that is impossible to read:

Image

I think the right solution would be to have two different configuration options, one with the long description of what the agent does, which I guess will be used internally by opencode to decide when to invoke this agent, and another short configuration option, that could be used on commands that list the available agents.

OpenCode version

1.0.119

Steps to reproduce

  1. Create a new agent using the command opencode agent create
  2. Launch opencode
  3. Run the /agents command

Screenshot and/or share link

No response

Operating System

No response

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomershelp-wantedopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions