The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Josha91 fix docstring (#19249)
Harrison Chaseefcdf54eddcf
diff --git a/libs/community/langchain_community/tools/sql_database/tool.py b/libs/community/langchain_community/tools/sql_database/tool.pyindex 62e3349365..2981f09eae 100644--- a/libs/community/langchain_community/tools/sql_database/tool.py+++ b/libs/community/langchain_community/tools/sql_database/tool.py@@ -86,7 +86,7 @@ class ListSQLDatabaseTool(BaseSQLDatabaseTool, BaseTool):"""Tool for getting tables names."""name: str = "sql_db_list_tables"- description: str = "Input is an empty string, output is a comma separated list of tables in the database."+ description: str = "Input is an empty string, output is a comma-separated list of tables in the database."args_schema: Type[BaseModel] = _ListSQLDataBaseToolInputdef _run(@@ -94,7 +94,7 @@ class ListSQLDatabaseTool(BaseSQLDatabaseTool, BaseTool):tool_input: str = "",run_manager: Optional[CallbackManagerForToolRun] = None,) -> str:- """Get the schema for a specific table."""+ """Get a comma-separated list of table names."""return ", ".join(self.db.get_usable_table_names())