Skip to content

Commit 88e8f2f

Browse files
authored
Add FAQ for using model of preference on Cody CLI (#675)
<!-- Explain the changes introduced in your PR --> This update introduces an answer to a question where users would like to find out if they can use a model of choice to chat with Cody on CLI. ## Pull Request approval Although pull request approval is not enforced for this repository in order to reduce friction, merging without a review will generate a ticket for the docs team to review your changes. So if possible, have your pull request approved before merging.
1 parent e366d3d commit 88e8f2f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/cody/faq.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,13 @@ Yes, Cody supports the following cloud development environments:
114114

115115
- vscode.dev and GitHub Codespaces (install from the VS Code extension marketplace)
116116
- Any editor supporting the [Open VSX Registry](https://open-vsx.org/extension/sourcegraph/cody-ai), including [Gitpod](https://www.gitpod.io/blog/boosting-developer-productivity-unleashing-the-power-of-sourcegraph-cody-in-gitpod), Coder, and `code-server` (install from the [Open VSX Registry](https://open-vsx.org/extension/sourcegraph/cody-ai))
117+
118+
### Can I use my LLM of preference to chat with Cody on CLI?
119+
120+
Yes you can. In the CLI you can use the following command to get started. Please replace `$name_of_the_model` with the LLM model of your choice.
121+
122+
```
123+
cody chat --model '$name_of_the_model' -m 'Hi Cody!'
124+
```
125+
126+
For example, to use Claude 3.5 Sonnet, you'd pass the following command in your terminal, `cody chat --model 'claude-3.5-sonnet' -m 'Hi Cody!'

0 commit comments

Comments
 (0)