-
Notifications
You must be signed in to change notification settings - Fork 15.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agents with Chat Models
Example Code Abnormal When Using google-serper
Tool
#5335
Comments
Likely will be fixed by #5371 |
After upgrading to v0.0.189 , the problem still exists. But the error log has changed. Here's the new error message:
|
Hi, @dsdashun! 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. Based on my understanding, you reported an issue related to an error that occurs when executing the example code for Agents with Chat Models using the 'google-serper' tool instead of 'serpapi'. It seems that shajinzheng suggested that the issue might be fixed by a specific pull request. However, you mentioned that even after upgrading to v0.0.189, the problem still exists, but the error log has changed. Before we proceed, we would like to confirm if this issue is still relevant to the latest version of the LangChain repository. If it is, please let us know by commenting on this issue. Otherwise, feel free to close the issue yourself, or the issue will be automatically closed in 7 days. Thank you for your understanding and contribution to the LangChain project! |
System Info
Linux iZt4n78zs78m7gw0tztt8lZ 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Who can help?
No response
Information
Related Components
Reproduction
Here's the modified code:
When I execute the code above. Error occurred. Here's the error text:
However, if I use the
pdb
debugger to debug the program step by step, and pause a little bit after runninginitialize_agent
, everything is fine.I didn't use the 'serpapi' tool, because I don't have an API key on it. So I cannot verify whether the original example code can be executed successfully on my machine using the 'serpapi' tool
Expected behavior
I expect the code can run successfully without any problems, even if I replace the search tool with a similar one.
The text was updated successfully, but these errors were encountered: