mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
cf60cff1ef
In certain 0-shot scenarios, the existing stateful language model can unintentionally send/accumulate the .history. This commit adds the "with_history" option to chatglm, allowing users to control the behavior of .history and prevent unintended accumulation. Possible reviewers @hwchase17 @baskaryan @mlot Refer to discussion over this thread: https://twitter.com/wey_gu/status/1681996149543276545?s=20 |
||
---|---|---|
.. | ||
how_to | ||
integrations |