Make a note in our examples that there's an issue with Gemini Live + Vertex around specifying a modality other than AUDIO
This commit is contained in:
@@ -80,6 +80,8 @@ transport_params = {
|
|||||||
async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
|
async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
|
||||||
logger.info(f"Starting bot")
|
logger.info(f"Starting bot")
|
||||||
|
|
||||||
|
# KNOWN ISSUE: If using GeminiVertexMultimodalLiveLLMService, it appears
|
||||||
|
# you cannot specify a modality other than AUDIO.
|
||||||
llm = GeminiMultimodalLiveLLMService(
|
llm = GeminiMultimodalLiveLLMService(
|
||||||
api_key=os.getenv("GOOGLE_API_KEY"),
|
api_key=os.getenv("GOOGLE_API_KEY"),
|
||||||
system_instruction=SYSTEM_INSTRUCTION,
|
system_instruction=SYSTEM_INSTRUCTION,
|
||||||
|
|||||||
Reference in New Issue
Block a user