Commit 0ec2e0f
committed
feat(action): reject the litellm 'openrouter/' model prefix early
The engine calls OpenRouter natively (langchain ChatOpenAI), so the model must
be a bare slug; the litellm 'openrouter/...' form 400s deep inside the engine.
Fail fast in the verify step with a one-line actionable error instead, the same
early-validation the API key already gets.1 parent 016df69 commit 0ec2e0f
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
269 | 280 | | |
270 | 281 | | |
271 | 282 | | |
| |||
0 commit comments