langchain
d7f014cd - Bug: OpenAIFunctionsAgentOutputParser doesn't handle functions with no args (#13467)

Commit
2 years ago
Bug: OpenAIFunctionsAgentOutputParser doesn't handle functions with no args (#13467) **Description/Issue:** When OpenAI calls a function with no args, the args are `""` rather than `"{}"`. Then `json.loads("")` blows up. This PR handles it correctly. **Dependencies:** None
Author
Parents
Loading