[PR #2349] fix [baichuan] Error: argument of type 'NoneType' is not iterable #23585

Closed
opened 2026-02-21 20:21:22 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/2349

State: closed
Merged: No


When the Baichuan model API is called frequency_penalty parameters must be between 1 and 2, otherwise an error will be reported, and abnormal data will be returned, resulting in the error: [baichuan] Error: argument of type 'NoneType' is not iterable.

**Original Pull Request:** https://github.com/langgenius/dify/pull/2349 **State:** closed **Merged:** No --- When the Baichuan model API is called frequency_penalty parameters must be between 1 and 2, otherwise an error will be reported, and abnormal data will be returned, resulting in the error: [baichuan] Error: argument of type 'NoneType' is not iterable.
yindo added the pull-request label 2026-02-21 20:21:22 -05:00
yindo closed this issue 2026-02-21 20:21:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#23585