Update tool.py (#10203)

Fixed the description of tool QuerySQLCheckerTool, the last line of the
string description had the old name of the tool 'sql_db_query', this
caused the models to sometimes call the non-existent tool
The issue was not numerically identified.
No dependencies
bagatur/konko
C Mazzoni 1 year ago committed by GitHub
parent 28de8d132c
commit 01e9d7902d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -93,7 +93,7 @@ class QuerySQLCheckerTool(BaseSQLDatabaseTool, BaseTool):
name: str = "sql_db_query_checker"
description: str = """
Use this tool to double check if your query is correct before executing it.
Always use this tool before executing a query with query_sql_db!
Always use this tool before executing a query with sql_db_query!
"""
@root_validator(pre=True)

Loading…
Cancel
Save