langchain
ca8a022c - Fixed OpenAIFunctionsAgent not returning when receiving AgentFinish (#14236)

Commit
2 years ago
Fixed OpenAIFunctionsAgent not returning when receiving AgentFinish (#14236) **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.
Author
Parents
Loading