mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
**PR message**: Not sure if I put the check at the right spot, but I thought throwing the error before the loop made sense to me. **Description:** Checks if there are only system messages using AnthropicChat model and throws an error if it's the case. Check Issue for more details **Issue:** #30764 --------- Co-authored-by: Chester Curme <chester.curme@gmail.com>