Skip to content
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

langchain-core==0.2.16 StructuredTool._run()에 새로운 필수 인수가 추가되었습니다 #5

Open
june0216 opened this issue Aug 9, 2024 · 0 comments

Comments

@june0216
Copy link
Collaborator

june0216 commented Aug 9, 2024

에러 발생 => This was the error: StructuredTool._run() missing 1 required keyword-only argument: 'config'.
해결방법 = 패키지를 다운그레이드

해결과정 =

 pip install -q -U google-oauth google-generativeai langchain-google-genai

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
langchain-community 0.0.38 requires langchain-core<0.2.0,>=0.1.52, but you have langchain-core 0.2.29 which is incompatible.
langchain 0.1.20 requires langchain-core<0.2.0,>=0.1.52, but you have langchain-core 0.2.29 which is incompatible.

최종 해결 :
pip install langchain-google-genai==1.0.5
pip install langchain-core==0.2.15 langchain==0.2.6 langchain-community==0.2.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant