my gemini live implementation works well when usin...
# ask-ai
b
my gemini live implementation works well when using ai studio i.e. using the api_key but fails and shows 1008 or 1007 errors when using vertex ai. what seems to be causing this issue? this is my gemini live payload: gemini_model = os.getenv('GEMINI_REALTIME_MODEL', 'gemini-live-2.5-flash-preview') llm_instance = google.beta.realtime.RealtimeModel( api_key=os.getenv('GOOGLE_API_KEY'), model=gemini_model, temperature=0.8, instructions=system_instructions, modalities=["TEXT"], language="en-US", # vertexai="true" )
t
Thanks for reaching out, Charu. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!