tool_input='2^0.235', log=' I need to use a calculator to solve this.\nAction: Calculator\nAction Input: 2^0.235')    on_tool_start Calculator    on_chain_start LLMMathChain    on_chain_start LLMChain    on_llm_start OpenAI    on_llm_start (I'm the second handler!!) OpenAI    on_new_token     on_new_token ```text    on_new_token         on_new_token 2    on_new_token **    on_new_token 0    on_new_token .    on_new_token 235    on_new_token         on_new_token ```        on_new_token ...    on_new_token num    on_new_token expr    on_new_token .    on_new_token evaluate    on_new_token ("    on_new_token 2    on_new_token **    on_new_token 0    on_new_token .    on_new_token 235    on_new_token ")    on_new_token ...    on_new_token         on_new_token     on_chain_start LLMChain    on_llm_start OpenAI    on_llm_start (I'm the second handler!!) OpenAI    on_new_token  I    on_new_token  now    on_new_token  know    on_new_token  the    on_new_token  final    on_new_token  answer    on_new_token .    on_new_token     Final    on_new_token  Answer    on_new_token :    on_new_token  1    on_new_token .    on_new_token 17    on_new_token 690    on_new_token 67    on_new_token 372    on_new_token 187    on_new_token 674    on_new_token     '1.1769067372187674'PreviousLogging to fileNextTagsCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
In the previous examples, we passed in callback handlers upon creation of an object by using callbacks=. In this case, the callbacks will be scoped to that particular object.
In the previous examples, we passed in callback handlers upon creation of an object by using callbacks=. In this case, the callbacks will be scoped to that particular object. ->: tool_input='2^0.235', log=' I need to use a calculator to solve this.\nAction: Calculator\nAction Input: 2^0.235')    on_tool_start Calculator    on_chain_start LLMMathChain    on_chain_start LLMChain    on_llm_start OpenAI    on_llm_start (I'm the second handler!!) OpenAI    on_new_token     on_new_token ```text    on_new_token         on_new_token 2    on_new_token **    on_new_token 0    on_new_token .    on_new_token 235    on_new_token         on_new_token ```        on_new_token ...    on_new_token num    on_new_token expr    on_new_token .    on_new_token evaluate    on_new_token ("    on_new_token 2    on_new_token **    on_new_token 0    on_new_token .    on_new_token 235    on_new_token ")    on_new_token ...    on_new_token         on_new_token     on_chain_start LLMChain    on_llm_start OpenAI    on_llm_start (I'm the second handler!!) OpenAI    on_new_token  I    on_new_token  now    on_new_token  know    on_new_token  the    on_new_token  final    on_new_token  answer    on_new_token .    on_new_token     Final    on_new_token  Answer    on_new_token :    on_new_token  1    on_new_token .    on_new_token 17    on_new_token 690    on_new_token 67    on_new_token 372    on_new_token 187    on_new_token 674    on_new_token     '1.1769067372187674'PreviousLogging to fileNextTagsCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.