Skip to content

feat(tools): add response_scheduling to control Live function response behavior#6077

Open
allen-stephen wants to merge 3 commits into
google:mainfrom
allen-stephen:feat/live-function-response-scheduling
Open

feat(tools): add response_scheduling to control Live function response behavior#6077
allen-stephen wants to merge 3 commits into
google:mainfrom
allen-stephen:feat/live-function-response-scheduling

Conversation

@allen-stephen

Copy link
Copy Markdown
Contributor

Please ensure you have read the contribution guide before creating a pull request.

Link to Issue or Description of Change

Adds support for Live API function response scheduling (https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/live-api/asynchronous-function-calling)

Testing Plan

Unit Tests:

  • I have added or updated unit tests for my change.
  • All unit tests pass locally.

tests/unittests/tools/ tests/unittests/flows/llm_flows/ -> 438 passed

Manual End-to-End (E2E) Tests:

Set tool.response_scheduling = types.FunctionResponseScheduling.SILENT on a tool in a Live agent and confirmed the model updates state without narrating the tool result; with None (default), behavior is unchanged.

Checklist

  • I have read the CONTRIBUTING.md document.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • I have manually tested my changes end-to-end.
  • Any dependent changes have been merged and published in downstream modules.

@adk-bot adk-bot added tools [Component] This issue is related to tools live [Component] This issue is related to live, voice and video chat labels Jun 11, 2026
@rohityan rohityan self-assigned this Jun 11, 2026
@rohityan rohityan added the needs review [Status] The PR/issue is awaiting review from the maintainer label Jun 11, 2026
@rohityan rohityan requested a review from xuanyang15 June 11, 2026 21:54
@rohityan

Copy link
Copy Markdown
Collaborator

Hi @allen-stephen , Thank you for your contribution! We appreciate you taking the time to submit this pull request. Your PR has been received by the team and is currently under review. We will provide feedback as soon as we have an update to share.

@rohityan

Copy link
Copy Markdown
Collaborator

Hi @xuanyang15 , can you please review this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

live [Component] This issue is related to live, voice and video chat needs review [Status] The PR/issue is awaiting review from the maintainer tools [Component] This issue is related to tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants