Skip to content

Commit 9b364de

Browse files
authored
docs: update adapters-acp.md (#2599)
1 parent e6ec73c commit 9b364de

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/configuration/adapters-acp.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ description: Learn how to configure ACP adapters like Claude Code, Gemini CLI an
66

77
This section contains configuration which is specific to Agent Client Protocol (ACP) adapters only. There is a lot of shared functionality between ACP and [http](/configuration/adapters-http) adapters. Therefore it's recommended you read the two pages together.
88

9+
## Changing an Adapter
10+
11+
You can select an ACP adapter to be the default for all chat interactions:
12+
13+
```lua
14+
require("codecompanion").setup({
15+
interactions = {
16+
chat = {
17+
adapter = "gemini_cli",
18+
},
19+
},
20+
}),
21+
```
22+
923
## Changing Adapter Settings
1024

1125
To change any of the default settings for an ACP adapter, you can extend it in your CodeCompanion setup. For example, to change the timeout and authentication method for the Gemini CLI adapter, you can do the following:

0 commit comments

Comments
 (0)