Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
community: fix tool appending logic and update planner prompt in Open…
…API agent toolkit (langchain-ai#24384) **Description:** - Updated the format for the 'Action' section in the planner prompt to ensure it must be one of the tools without additional words. Adjusted the phrasing from "should be" to "must be" for clarity and enforceability. - Corrected the tool appending logic in the `_create_api_controller_agent` function to ensure that `RequestsDeleteToolWithParsing` and `RequestsPatchToolWithParsing` are properly added to the tools list for "DELETE" and "PATCH" operations. **Issue:** langchain-ai#24382 **Dependencies:** None **Twitter handle:** @lunara_x --------- Co-authored-by: Chester Curme <chester.curme@gmail.com>
- Loading branch information