Files
langchain-python/langchain/agents
Zach Jones c969a779c9 Fix: Pass along kwargs when creating a sql agent (#2350)
Currently, `agent_toolkits.sql.create_sql_agent()` passes kwargs to the
`ZeroShotAgent` that it creates but not to `AgentExecutor` that it also
creates. This prevents the caller from providing some useful arguments
like `max_iterations` and `early_stopping_method`

This PR changes `create_sql_agent` so that it passes kwargs to both
constructors.

---------

Co-authored-by: Zachary Jones <zjones@zetaglobal.com>
2023-04-03 21:50:51 -07:00
..
2023-03-14 09:42:24 -07:00
2023-04-03 15:27:57 -07:00
2023-03-29 14:38:21 -07:00
2023-04-02 09:12:54 -07:00
2023-04-03 15:27:57 -07:00
2023-03-14 09:42:24 -07:00