# docs: Update "Custom Keybindings for Extension-Based Agents section" to include a troubleshooting note for defining an agent name \(\#46144\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/464a55038c46916e1052c33db46894fa91677f6f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 464a55038c46916e1052c33db46894fa91677f6f

Requested commit: 464a55038c46916e1052c33db46894fa91677f6f

Commit: 464a55038c46916e1052c33db46894fa91677f6f

Tree: 85c287dfcf9da57d80895250f631133a91de82ca

Author: Iago Bermúdez

Committer: GitHub

## Message

```
docs: Update "Custom Keybindings for Extension-Based Agents section" to include a troubleshooting note for defining an agent name (#46144)

## Description
When trying to setup the OpenCode external agent the other day, I was
having trouble setting the keybinding using the docs. The issue was that
it said to use the same name as the one written in the UI. While this
works when the external agent is defined using the `settings.json` file,
it didn't work when setting up the keybinding after installing the
extension through the extension marketplace.

Since the solution I found was to define the agent name as 'opencode'
instead of 'OpenCode' (which is the name that shows up in the UI) I
thought it would be appropiate to indicate that sometimes you might need
to set it up using a different name.

Release Notes:

- N/A
```

## Parents

- [f599864294230a78f15c0d4d87617c2c13c54422](https://git.cafe/gitcafe/zed/commit/f599864294230a78f15c0d4d87617c2c13c54422?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/464a55038c46916e1052c33db46894fa91677f6f?format=markdown)
