Hi, I'm trying to use Tree Summarize with Gemini Pro. I'm getting this error: "raise ValueError("Gemini model don't support system messages") ValueError: Gemini model don't support system messages"
It seems that the Gemini Pro model does not accept system messages. I've tried to look at the Github code to see where the system message was, but I haven't been able to find it.
from llama_index.core import SimpleDirectoryReader from llama_index.core.response_synthesizers import TreeSummarize from llama_index.llms.vertex import Vertex from google.oauth2 import service_account from llama_index.core import Settings import asyncio
^ this does not work for Gemini Pro. No PromptTemplate defined in the user's code. this is the first google result for "tree summarize llamaindex". i was following this when i encountered the gemini system message error