fix: ask provider in quick start
Maintainer edit: replace Quick Start key/base detection with an explicit provider-first flow. Users choose the provider that issued the API key, paste the key, and only custom OpenAI-compatible setups ask for a base URL.
This commit is contained in:
@@ -156,7 +156,7 @@ You will see a menu like this:
|
||||
|
||||
```text
|
||||
> What would you like to do?
|
||||
[Q] Quick Start (API key first)
|
||||
[Q] Quick Start (provider + key)
|
||||
[A] Advanced Settings
|
||||
[X] Exit
|
||||
```
|
||||
@@ -166,20 +166,22 @@ Move through the wizard like this:
|
||||
| When you see | Do this |
|
||||
|---|---|
|
||||
| A menu | Use the arrow keys to highlight an option, then press `Enter`. |
|
||||
| The provider menu | Choose the company or service that issued your API key. |
|
||||
| The API key field | Paste the key, then press `Enter`. |
|
||||
| A base URL field | Paste the provider base URL from its docs, then press `Enter`. |
|
||||
| A base URL field for `Other OpenAI-compatible` | Paste the provider base URL from its docs, then press `Enter`. |
|
||||
| A back option in Advanced Settings | Choose it to return to the previous menu. |
|
||||
|
||||
For the first setup, choose `[Q] Quick Start (API key first)`. It configures the recommended local browser UI and default AI settings for you. Use `Advanced Settings` later only if you need a different provider, chat app, or tool setup.
|
||||
For the first setup, choose `[Q] Quick Start (provider + key)`. It configures the recommended local browser UI and default AI settings for you. Use `Advanced Settings` later only if you need a provider that is not in the Quick Start menu, a chat app, or a tool setup.
|
||||
|
||||
1. Choose `[Q] Quick Start (API key first)`.
|
||||
2. Paste your API key.
|
||||
3. If nanobot cannot recognize the key, paste the provider base URL from that provider's docs.
|
||||
4. Review the Quick Start summary. The wizard saves and exits when Quick Start finishes.
|
||||
1. Choose `[Q] Quick Start (provider + key)`.
|
||||
2. Choose the provider that issued your API key.
|
||||
3. Paste your API key.
|
||||
4. If you chose `Other OpenAI-compatible`, paste the provider base URL from that provider's docs.
|
||||
5. Review the Quick Start summary. The wizard saves and exits when Quick Start finishes.
|
||||
|
||||
The recommended path enables the local WebUI and default AI settings. You do not need to choose a chat channel for the first run.
|
||||
|
||||
If you already know that you need another provider, choose `Advanced Settings` instead of Quick Start. [`provider-cookbook.md`](./provider-cookbook.md) has copyable examples for several common provider setups. After you change advanced settings, a save option appears in the main menu. Choose `[S] Save and Exit`.
|
||||
If you already know that you need a provider or endpoint that is not in the Quick Start menu, choose `Advanced Settings` instead. [`provider-cookbook.md`](./provider-cookbook.md) has copyable examples for several common provider setups. After you change advanced settings, a save option appears in the main menu. Choose `[S] Save and Exit`.
|
||||
|
||||
The wizard creates or updates:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user