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

AttributeError: 'NoneType' object has no attribute 'prompt_feedback' #430

Open
Puneet-Bajaj-IITM opened this issue Aug 9, 2024 · 4 comments

Comments

@Puneet-Bajaj-IITM
Copy link

The code was working fine till yesterday now it has stopped working. even the code in official documentation is throwing this error. Please help resolve this issue

Screenshot 2024-08-09 201854

@lkuligin
Copy link
Collaborator

I'm sorry but I can't reproduce it on my side. Are all requests failing for you, or only this particular one?

And which version of langchain-google-genai do you have installed?

@PsychedelicEmbassy
Copy link

Same here. Copied from official docs and it fails. All gemini models produce the same error mentioned above. Installed langchain_google_genai today with pip so im assuming its latest.

code:
from langchain_google_genai import ChatGoogleGenerativeAI

llm = ChatGoogleGenerativeAI(model="gemini-1.5-pro")
llm.invoke("Write me a ballad about LangChain")

@Pldesch
Copy link

Pldesch commented Aug 19, 2024

Hi I am having the same issue as well. I started having the issue using langchain-google-genai 1.0.8 and I keep having the same issue with 1.0.9. Same as everyone my code was working fine a week ago and I noticed it breaking from today

@AkashBais
Copy link

@Puneet-Bajaj-IITM did you find a solution/reason for this

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

5 participants