mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(coding-agent): require --model when --provider is given
--provider without --model was ignored and the default model from another provider ran instead. It now fails with an error. Also fixes the outdated "(default: google)" in the --help text. closes #10236
This commit is contained in:
parent
70c036211d
commit
0c453048bd
4 changed files with 9 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ pi --model sonnet:high
|
|||
See [Choose a Model](models.md) for model selection and [Provider Authentication](providers.md) for credentials.
|
||||
|
||||
- `--provider <name>`<br>
|
||||
Restricts `--model` lookup to one provider.
|
||||
Restricts `--model` lookup to one provider. It requires `--model`.
|
||||
- `--model <pattern>`<br>
|
||||
Selects by exact ID or fuzzy ID/name match. It accepts `provider/id` and an optional `:<thinking>` suffix.
|
||||
- `--api-key <key>`<br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue