Commit 5bccb07
committed
fix(providers): seed llama-swap default model and fix rustfmt
Codex review: an empty `models` list makes `default_model` become ""
in `ProviderRegistry::register_with_name`, which causes onboarding
paths to persist an empty `GOOSE_MODEL` and fall back to app defaults
instead of the selected provider. Seed with `qwen3` (matching the
ollama default) so the provider has a usable placeholder until the
dynamic `/v1/models` fetch populates the real list.
Also collapse a multi-line `assert_eq!` to satisfy `cargo fmt --check`.1 parent 3059214 commit 5bccb07
File tree
2 files changed
+6
-6
lines changed- crates/goose/src
- config
- providers/declarative
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
551 | 549 | | |
552 | 550 | | |
553 | 551 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments