Skip to content

The agent engineering platform.

Update toolkit.py to remove single quotes around table names (#12445)

The1Bill55912868da0b
diff --git a/libs/langchain/langchain/agents/agent_toolkits/sql/toolkit.py b/libs/langchain/langchain/agents/agent_toolkits/sql/toolkit.py
index dfcdd39083..32b68840a7 100644
--- a/libs/langchain/langchain/agents/agent_toolkits/sql/toolkit.py
+++ b/libs/langchain/langchain/agents/agent_toolkits/sql/toolkit.py
@@ -38,7 +38,7 @@ class SQLDatabaseToolkit(BaseToolkit):
"schema and sample rows for those tables. "
"Be sure that the tables actually exist by calling "
f"{list_sql_database_tool.name} first! "
- "Example Input: 'table1, table2, table3'"
+ "Example Input: table1, table2, table3"
)
info_sql_database_tool = InfoSQLDatabaseTool(
db=self.db, description=info_sql_database_tool_description