Commit 6eef216
wizard: emit all providers referenced by persona routing rules
Devin Review (red): the wizard previously emitted only the provider
derived from the default model. But cost-optimized routing references
cerebras, moonshot, and anthropic too — a wizard-generated config
would fail at runtime when routing picked one of those.
Refactored to a data-driven `EXTRA_PROVIDERS` map so each persona
declares which providers its routing rules need. The generator then
emits the union of (default-model provider, extra persona providers).
- cost-optimized: anthropic, google, moonshot, cerebras
- production: anthropic, google
- security-hardened: anthropic (for the quarantine fallback)
Also added cerebras to the providerKeys map (CEREBRAS_API_KEY).
Co-Authored-By: Rob <onerobby@gmail.com>1 parent 73ce189 commit 6eef216
1 file changed
Lines changed: 21 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
| 304 | + | |
306 | 305 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
314 | 326 | | |
315 | 327 | | |
316 | 328 | | |
| |||
0 commit comments