langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Failed to decide which tool to use.

Open SDADSWws opened this issue 1 year ago • 2 comments

Entering new AgentExecutor chain... Thought: Do I need to use a tool? Yes Action: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] Action Input: Wolfram Alpha 222+222 Observation: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] is not a valid tool, try another one. Thought:Do I need to use a tool? Yes Action: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] Action Input: Wolfram Alpha 222+222 Observation: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] is not a valid tool, try another one. Thought:Do I need to use a tool? Yes Action: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] Action Input: Wolfram Alpha what is the solution to 222+222? Observation: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] is not a valid tool, try another one. Thought:Do I need to use a tool? Yes Action: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] Action Input: Wolfram Alpha "what is 222+222?" Observation: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] is not a valid tool, try another one. Thought:Do I need to use a tool? Yes Action: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] Action Input: Wolfram Alpha "solve 222+222" Observation: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] is not a valid tool, try another one. Thought:Do I need to use a tool? Yes Action: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] Action Input: Wolfram Alpha "what is the sum of 222 and 222?" Observation: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] is not a valid tool, try another one. Thought:Do I need to use a tool? Yes Action: the action to take, should be one of [Time, TODO List, Python Execute, Wolfram Alpha] Action Input: Wolfram Alpha "what is 222+222"

SDADSWws avatar Mar 31 '23 05:03 SDADSWws

code?

ZhangHanwen96 avatar Mar 31 '23 08:03 ZhangHanwen96

Have you solved this problem yet

cfddb avatar Jun 02 '23 01:06 cfddb

Hi, @SDADSWws! I'm Dosu, and I'm here to help the LangChain team manage their backlog. I wanted to let you know that we are marking this issue as stale.

From what I understand, you encountered an issue where Wolfram Alpha was not recognized as a valid option when you tried to use it as a tool. ZhangHanwen96 asked for the code, and cfddb asked if the problem has been solved yet. However, it seems that the issue remains unresolved.

Could you please let us know if this issue is still relevant to the latest version of the LangChain repository? If it is, please comment on the issue to let the LangChain team know. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.

Thank you for your understanding and contribution to the LangChain project!

dosubot[bot] avatar Sep 18 '23 16:09 dosubot[bot]