Commit 06ed502
fix: pull default Ollama model when leader uses inherit
When the leader's SubAgentModel is "inherit", the deploy skipped the
Ollama model pull but OPENCODE_MODEL was set to the default model
(e.g. qwen3:4b). This caused "model not found" errors at runtime.
Now falls back to defaultOpenCodeModel() for the pull step.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 68d80f7 commit 06ed502
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
| 376 | + | |
376 | 377 | | |
377 | 378 | | |
378 | 379 | | |
379 | 380 | | |
380 | 381 | | |
381 | 382 | | |
382 | 383 | | |
383 | | - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
384 | 388 | | |
385 | 389 | | |
386 | 390 | | |
| |||
0 commit comments