fix: default custom provider model fields

This commit is contained in:
Peter Steinberger
2026-01-25 00:01:33 +00:00
parent 3b53213b41
commit 5ad203e47b
5 changed files with 148 additions and 16 deletions

View File

@@ -295,6 +295,16 @@ Example (OpenAIcompatible):
}
```
Notes:
- For custom providers, `reasoning`, `input`, `cost`, `contextWindow`, and `maxTokens` are optional.
When omitted, Clawdbot defaults to:
- `reasoning: false`
- `input: ["text"]`
- `cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }`
- `contextWindow: 200000`
- `maxTokens: 8192`
- Recommended: set explicit values that match your proxy/model limits.
## CLI examples
```bash