Skip to content

GeminiLiveVertexLLMService Vertex AI issue with update_settings #3549

@tropxy

Description

@tropxy

pipecat version

pipecat-ai==0.0.100 pipecat-ai-flows==0.0.22

Python version

3.13

Operating System

Darwin MacBook-Pro-2.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000 arm64

Issue description

There is some issue with the update of a frame received, which seems to affect the tool calling:
https://github.com/pipecat-ai/pipecat/blob/main/src/pipecat/services/google/gemini_live/llm.py#L950

Reproduction steps

  1. Setup a project with Google Vertex and do a call
  2. Interact with the LLM so it attempts to do a node transition and calls a tool

Expected behavior

  1. Tool call should work

Actual behavior

Agent wont call a tool

Logs

2026-01-24 03:22:07.893 | DEBUG    | pipecat_flows.manager:_execute_transition:602 - Transition to function-returned node: clarify_intent
2026-01-24 03:22:07.893 | DEBUG    | pipecat_flows.manager:_set_node:769 - Setting node: clarify_intent
2026-01-24 03:22:07.895 | DEBUG    | pipecat_flows.manager:_update_llm_context:973 - Updated LLM context using LLMMessagesAppendFrame with strategy ContextStrategy.APPEND
2026-01-24 03:22:07.895 | DEBUG    | pipecat_flows.manager:_set_node:861 - Updated LLM context
2026-01-24 03:22:07.895 | DEBUG    | pipecat_flows.manager:_set_node:880 - Successfully set node: clarify_intent
2026-01-24 03:22:07.896 | ERROR    | pipecat.processors.frame_processor:push_error_frame:725 - GeminiLiveVertexLLMService#0 exception (/Users/andre/Devel/amp_assist_agent_test_py313/.venv/lib/python3.13/site-packages/pipecat/services/google/gemini_live/llm.py:953): Error processing frame: AIService._update_settings() missing 1 required positional argument: 'settings'
2026-01-24 03:22:07.897 | DEBUG    | pipecat.adapters.base_llm_adapter:from_standard_tools:127 - Retrieving the tools using the adapter: <class 'pipecat.adapters.services.gemini_adapter.GeminiLLMAdapter'>
2026-01-24 03:22:07.898 | WARNING  | pipecat.pipeline.task:_source_push_frame:781 - PipelineTask#0: Something went wrong: ErrorFrame#1(error: Error processing frame: AIService._update_settings() missing 1 required positional argument: 'settings', fatal: False)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions