Replace SQLAgent with AgentExecutor in SQLAgentComponent constructor
This commit is contained in:
parent
b4d9118748
commit
369ca587fa
1 changed files with 1 additions and 1 deletions
|
|
@ -22,4 +22,4 @@ class SQLAgentComponent(CustomComponent):
|
||||||
# Assuming there is a constructor for SQLAgent that takes these parameters
|
# Assuming there is a constructor for SQLAgent that takes these parameters
|
||||||
# Since the actual implementation is not provided, this is a placeholder
|
# Since the actual implementation is not provided, this is a placeholder
|
||||||
# Replace SQLAgent with the actual class name if different
|
# Replace SQLAgent with the actual class name if different
|
||||||
return SQLAgent(llm=llm, database_uri=database_uri)
|
return AgentExecutor(llm=llm, database_uri=database_uri)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue