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
system messages don't work #199
Comments
can you provide a reproducible example, please? |
it prints a very long essay(around 3000 characters) about music instruments instead of a title I asked for. I have langchain-google-genai 1.0.3 installed btw. it doesn't change if I add convert_system_message_to_human=True while creating llm. |
You're right, I'm sorry about this, let me prepare a fix. |
Thank you! It works now by adding But it gives an error when using model "gemini-1.0-pro-latest" since system prompts are not supported with that model. In that case, using |
It should be fixed now, please feel free to re-open if it's not. |
System messages don't work. I tried both gemini-1.5 and 1.0. I also tried convert_system_message_to_human=True and convert_system_message_to_human=False. None of these work, it doesn't follow system message.
The text was updated successfully, but these errors were encountered: