Commit c01e019
Fix model validation and empty choices handling in MiniMaxChatNode
- Validate `model` parameter against MiniMaxChatModel enum before
forwarding to the API request, preventing invalid model strings.
- Raise RuntimeError instead of returning a fallback string when the
API returns empty choices, surfacing failures consistently.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent acf25ee commit c01e019
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
544 | | - | |
| 544 | + | |
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
| 553 | + | |
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| |||
0 commit comments