langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Quick Start example for Agents: Dynamically Call Chains Based on User Input is broken

Open acutting1755 opened this issue 1 year ago • 1 comments

Commit: https://github.com/hwchase17/langchain/commit/4654c58f7238e10b35544633bd780b73bbb75c75 This commit appears to have broken the Quick Start example for Agents: Dynamically Call Chains Based on User Input. When attempting to follow along this now causes an error ValueError: ZeroShotAgent does not support multi-input tool Calculator.

acutting1755 avatar Apr 29 '23 01:04 acutting1755

I created a PR https://github.com/hwchase17/langchain/pull/3803 that removes the restrictive checking of multi-input in the Agent base class. Will need reviewers to +1 and merge.

philipk19238 avatar Apr 30 '23 00:04 philipk19238

Fixed in 0.0.153

vowelparrot avatar May 01 '23 01:05 vowelparrot

Fixed in 0.0.153

I have a the same issue on 0.0.153

ryanshrott avatar May 01 '23 18:05 ryanshrott

With the calculator tool?

vowelparrot avatar May 01 '23 21:05 vowelparrot

With the calculator tool?

No I'm using the new playwright browser automation tool, but getting a similar error.

ryanshrott avatar May 01 '23 21:05 ryanshrott