The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: Set default value for _ListSQLDatabaseToolInput tool_input (#20409)
Yuki Oshima0758da894063
diff --git a/libs/community/langchain_community/tools/sql_database/tool.py b/libs/community/langchain_community/tools/sql_database/tool.pyindex 2981f09eae..fa055a5a14 100644--- a/libs/community/langchain_community/tools/sql_database/tool.py+++ b/libs/community/langchain_community/tools/sql_database/tool.py@@ -79,7 +79,7 @@ class InfoSQLDatabaseTool(BaseSQLDatabaseTool, BaseTool):class _ListSQLDataBaseToolInput(BaseModel):- tool_input: str = Field(..., description="An empty string")+ tool_input: str = Field("", description="An empty string")class ListSQLDatabaseTool(BaseSQLDatabaseTool, BaseTool):