}    | prompt.partial(tools=convert_tools(tool_list))    | model.bind(stop=["</tool_input>", "</final_answer>"])    | XMLAgent.get_default_output_parser())agent_executor = AgentExecutor(agent=agent, tools=tool_list, verbose=True)agent_executor.invoke({"question": "whats the weather in New york?"})            > Entering new AgentExecutor chain...     <tool>search</tool>    <tool_input>weather in new york32 degrees        <final_answer>The weather in New York is 32 degrees        > Finished chain.    {'question': 'whats the weather in New york?',     'output': 'The weather in New York is 32 degrees'}PreviousQuerying a SQL DBNextCode writingCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
You can pass a Runnable into an agent.
You can pass a Runnable into an agent. ->: }    | prompt.partial(tools=convert_tools(tool_list))    | model.bind(stop=["</tool_input>", "</final_answer>"])    | XMLAgent.get_default_output_parser())agent_executor = AgentExecutor(agent=agent, tools=tool_list, verbose=True)agent_executor.invoke({"question": "whats the weather in New york?"})            > Entering new AgentExecutor chain...     <tool>search</tool>    <tool_input>weather in new york32 degrees        <final_answer>The weather in New York is 32 degrees        > Finished chain.    {'question': 'whats the weather in New york?',     'output': 'The weather in New York is 32 degrees'}PreviousQuerying a SQL DBNextCode writingCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.