Repository navigation
Commit 8af2e42
committed
Fix load() error code: InvalidArgument → InvalidState for null runner
The !runner_ case in load() returned Error::InvalidArgument, but
generate()/prefill*() treat the same condition as Error::InvalidState.
Align to InvalidState for consistency. Also include model_type_category_
in the log message for debugging.
This commit was authored with the help of Claude.1 parent 192d1ee commit 8af2e42
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
601 | | - | |
602 | | - | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
603 | 605 | | |
604 | 606 | | |
605 | 607 | | |
| |||
0 commit comments