community[patch]: fix agent_toolkits mypy (#17050)

Related to #17048
This commit is contained in:
Bagatur
2024-02-05 11:56:24 -08:00
committed by GitHub
parent 6ffd5b15bc
commit e7b3290d30
4 changed files with 53 additions and 40 deletions

View File

@@ -58,7 +58,7 @@ def create_pbi_agent(
input_variables=input_variables,
**prompt_params,
),
callback_manager=callback_manager, # type: ignore
callback_manager=callback_manager,
verbose=verbose,
),
allowed_tools=[tool.name for tool in tools],