diff options
| author | Jay V <[email protected]> | 2025-12-02 18:08:19 -0500 |
|---|---|---|
| committer | Jay V <[email protected]> | 2025-12-02 18:08:39 -0500 |
| commit | 2a8473891b2965da8a6ec21f82373582ffb63b92 (patch) | |
| tree | 0476bb90c550eac9b1481ca20e8dcac5a0bfee2c /packages/web/src/content/docs/index.mdx | |
| parent | a4e3451d5cb53e9f5c6186ca28b4c7457057649f (diff) | |
| download | opencode-2a8473891b2965da8a6ec21f82373582ffb63b92.tar.gz opencode-2a8473891b2965da8a6ec21f82373582ffb63b92.zip | |
docs: replace deprecated opencode auth login command with /connect across all documentation
Users no longer need to exit the TUI to add providers - they can now use the /connect command directly in the terminal interface. Updated all provider setup instructions to use simplified format with /connect command instead of the deprecated opencode auth login CLI command. Added /connect to TUI commands reference and streamlined provider documentation to show clearer, more concise setup steps.
Diffstat (limited to 'packages/web/src/content/docs/index.mdx')
| -rw-r--r-- | packages/web/src/content/docs/index.mdx | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/packages/web/src/content/docs/index.mdx b/packages/web/src/content/docs/index.mdx index 1e1b67782..f37dca19d 100644 --- a/packages/web/src/content/docs/index.mdx +++ b/packages/web/src/content/docs/index.mdx @@ -132,23 +132,21 @@ If you are new to using LLM providers, we recommend using [OpenCode Zen](/docs/z It's a curated list of models that have been tested and verified by the OpenCode team. -1. Run `opencode auth login`, select opencode, and head to [opencode.ai/auth](https://opencode.ai/auth). +1. Run the `/connect` command in the TUI, select opencode, and head to [opencode.ai/auth](https://opencode.ai/auth). + + ```txt + /connect + ``` + 2. Sign in, add your billing details, and copy your API key. -3. Paste your API key. - ```bash - $ opencode auth login +3. Paste your API key. - ┌ Add credential - │ - ◇ Select provider - │ opencode + ```txt + ┌ API key │ - ● Create an api key at https://opencode.ai/auth │ - ◆ Enter your API key - │ _ - └ + └ enter ``` Alternatively, you can select one of the other providers. [Learn more](/docs/providers#directory). |
