The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch][: improved the suffix prompt to avoid loop (#17791)
al1p46f0cea2b9b4
diff --git a/libs/community/langchain_community/agent_toolkits/openapi/prompt.py b/libs/community/langchain_community/agent_toolkits/openapi/prompt.pyindex 0484f5bf5d..2b4f90f55c 100644--- a/libs/community/langchain_community/agent_toolkits/openapi/prompt.py+++ b/libs/community/langchain_community/agent_toolkits/openapi/prompt.py@@ -19,7 +19,7 @@ If you get a not found error, ensure that you are using a path that actually exiOPENAPI_SUFFIX = """Begin!Question: {input}-Thought: I should explore the spec to find the base url for the API.+Thought: I should explore the spec to find the base server url for the API in the servers node.{agent_scratchpad}"""DESCRIPTION = """Can be used to answer questions about the openapi spec for the API. Always use this tool before trying to make a request.