feat(skills): explain nanobot usage from bundled documentation (#6176)
* feat(skills): add nanobot documentation guide with bundled docs * docs: prefer graphical setup and align bundled guides with runtime * docs: lead provider setup with built-in endpoint defaults * fix: preserve documentation packaging and lookup across install paths * fix(skills): narrow documentation loading to relevant sections * refactor(skills): keep documentation guidance concise * fix(docs): complete first-use workflows and clarify runtime boundaries * style(docs): remove manual paragraph wrapping * docs: guide first-run users to conversational setup help * docs: fold README installation alternatives and details * docs: separate README alert marker from its body * docs: clarify README onboarding and runtime boundaries
This commit is contained in:
1 parent
23941355a8
commit
cd2a863710
61 files changed
+1729
-634
No files matched your search
@@ -12,12 +12,9 @@ nanobot can call OpenAI-compatible model providers by configuring an `apiBase`,
|
||||
|
||||
Use this for local or hosted services that expose OpenAI-compatible endpoints, including internal gateways, local model servers, and provider proxies that are not already named in nanobot.
|
||||
|
||||
## Install
|
||||
## Before you start
|
||||
|
||||
```bash
|
||||
python -m pip install nanobot-ai
|
||||
nanobot onboard --wizard
|
||||
```
|
||||
Complete [Quick Start](../quick-start.md) if nanobot is not installed or cannot reply yet. If you already have a working WebUI or CLI session, continue here using that instance; no reinstall or second gateway is needed.
|
||||
|
||||
Verify the endpoint responds before debugging nanobot:
|
||||
|
||||
@@ -27,6 +24,14 @@ curl -sS https://api.example.com/v1/models
|
||||
|
||||
## Minimal working example
|
||||
|
||||
1. Open **Settings → Models → New preset**.
|
||||
2. In **Provider**, choose **Add provider** and create a custom connection with your endpoint URL and credential.
|
||||
3. Select the model served by that endpoint, name the preset, and save.
|
||||
4. Select the preset in the chat composer and send `Hello!`.
|
||||
|
||||
<details>
|
||||
<summary>Manual configuration</summary>
|
||||
|
||||
Merge this into `~/.nanobot/config.json`:
|
||||
|
||||
```json
|
||||
@@ -54,11 +59,9 @@ Merge this into `~/.nanobot/config.json`:
|
||||
}
|
||||
```
|
||||
|
||||
Then run:
|
||||
</details>
|
||||
|
||||
```bash
|
||||
nanobot agent -m "Hello!"
|
||||
```
|
||||
Verify in the WebUI with the new preset selected. For the manual snippet above, which sets the global default, you can instead run `nanobot agent -m "Hello!"` from the same instance. A different CLI session does not inherit a WebUI topic's model selection.
|
||||
|
||||
## Production notes
|
||||
|
||||
|
||||
Reference in new issue
Block a user