mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-18 07:39:13 +03:00
**Description:** The way the condition is checked in the `return_stopped_response` function of `OpenAIAgent` may not be correct, when the value returned is `AgentFinish` from the tools it does not work properly. Thanks for review, @baskaryan, @eyurtsev, @hwchase17.