mirror of
https://github.com/Narcooo/inkos.git
synced 2026-08-28 14:57:58 +08:00
docs(skill): add multi-model routing section and set-model/show-models to command table
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Generated
+5
-5
@@ -11,8 +11,8 @@ importers:
|
||||
packages/cli:
|
||||
dependencies:
|
||||
'@actalk/inkos-core':
|
||||
specifier: 0.4.6
|
||||
version: 0.4.6
|
||||
specifier: 0.4.8
|
||||
version: 0.4.8
|
||||
commander:
|
||||
specifier: ^13.0.0
|
||||
version: 13.1.0
|
||||
@@ -63,8 +63,8 @@ importers:
|
||||
|
||||
packages:
|
||||
|
||||
'@actalk/inkos-core@0.4.6':
|
||||
resolution: {integrity: sha512-poCvxlM2kcR+yhH2XHyP7Q7bVtNHSyrD1kEmrrRBRBS4FEPcwY1k39JzwdXpDzCeC99b0rMR0G3lDrRfNLLdBQ==}
|
||||
'@actalk/inkos-core@0.4.8':
|
||||
resolution: {integrity: sha512-8DeR/7BOfqu6A4cdrmN0MNStVc1/4VXA7mxZ6eyFIlDx3a6H322UzFa/02KSwnKzuSdYPA2lwzo4D3F2heJh3A==}
|
||||
|
||||
'@anthropic-ai/sdk@0.78.0':
|
||||
resolution: {integrity: sha512-PzQhR715td/m1UaaN5hHXjYB8Gl2lF9UVhrrGrZeysiF6Rb74Wc9GCB8hzLdzmQtBd1qe89F9OptgB9Za1Ib5w==}
|
||||
@@ -967,7 +967,7 @@ packages:
|
||||
|
||||
snapshots:
|
||||
|
||||
'@actalk/inkos-core@0.4.6':
|
||||
'@actalk/inkos-core@0.4.8':
|
||||
dependencies:
|
||||
'@anthropic-ai/sdk': 0.78.0(zod@3.25.76)
|
||||
js-yaml: 4.1.1
|
||||
|
||||
@@ -35,6 +35,15 @@ inkos config set-global --provider openai --base-url https://api.openai.com/v1 -
|
||||
# inkos config set-global --provider custom --base-url https://your-proxy.com/v1 --api-key sk-xxx --model gpt-4o
|
||||
```
|
||||
|
||||
### Multi-Model Routing (Optional)
|
||||
```bash
|
||||
# Assign different models to different agents — balance quality and cost
|
||||
inkos config set-model writer claude-sonnet-4-20250514 --provider anthropic --base-url https://api.anthropic.com --api-key-env ANTHROPIC_API_KEY
|
||||
inkos config set-model auditor gpt-4o --provider openai
|
||||
inkos config show-models
|
||||
```
|
||||
Agents without explicit overrides fall back to the global model.
|
||||
|
||||
### View System Status
|
||||
```bash
|
||||
# Check installation and configuration
|
||||
@@ -302,6 +311,8 @@ inkos genre copy xuanhuan --name "dark-xuanhuan" --rules "darker tone, more viol
|
||||
| `inkos analytics` / `inkos stats` | View book statistics | Word count, audit rates, token usage |
|
||||
| `inkos radar scan` | Platform trend analysis | Informs new book ideas |
|
||||
| `inkos config set-global` | Configure LLM provider | OpenAI/Anthropic/custom (any OpenAI-compatible) |
|
||||
| `inkos config set-model <agent> <model>` | Set model override for a specific agent | `--provider`, `--base-url`, `--api-key-env` for multi-provider routing |
|
||||
| `inkos config show-models` | Show current model routing | View per-agent model assignments |
|
||||
| `inkos doctor` | Diagnose issues | Check installation |
|
||||
| `inkos update` | Update to latest version | Self-update |
|
||||
| `inkos up/down` | Daemon mode | Background processing. Logs to `inkos.log` (JSON Lines). `-q` for quiet mode |
|
||||
|
||||
Reference in New Issue
Block a user