mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-25 01:16:55 +00:00
- **Description:** This PR is to fix a bug of "system message check" in langchain_community/ chat_models/tongyi.py - **Issue:** In term of current logic, if there's no system message in the chat messages, an error of "System message can only be the first message." will be wrongly raised. - **Dependencies:** No. - **Twitter handle:** I don't have a Twitter account.