-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
live[Component] This issue is related to live, voice and video chat[Component] This issue is related to live, voice and video chat
Description
- Scenario:
- I'm building a chat bot which handles both text & audio input (separate endpoints) using Google ADK.
- First user start a session with text and agents use Gemini 3.1 Pro model to generate answer.
- Next user switches to Voice and then I'm trying to process it using gemini-2.5-flash-native-audio-preview-12-2025 with SessionResumptionConfig handle of text session_id.
- Facing issue as - google.genai.errors.APIError: 1007 None. Invalid session handle.
- I want to know how to handle switching between models but still leveraging the same session context. Please let me whether ADK supports this or any workaround on how to handle this.
- If I pass Conversation history from old session manually it may work but how to map these new session_id and old session_id
- error messages I'm facing:
- if I pass handle of text session_id in SessionResumptionConfig then facing issue as - google.genai.errors.APIError: 1007 None. Invalid session handle.
- If I just re-use the existing session without SessionResumptionConfig then facing - google.genai.errors.APIError: 1011 None. Internal error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
live[Component] This issue is related to live, voice and video chat[Component] This issue is related to live, voice and video chat