Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chore(ai): Add additional logging support for live api server messages#15940

Merged
daymxn merged 4 commits into
mainfirebase/firebase-ios-sdk:mainfrom
dlr/add-logging-to-live-apifirebase/firebase-ios-sdk:dlr/add-logging-to-live-apiCopy head branch name to clipboard
Mar 20, 2026
Merged

chore(ai): Add additional logging support for live api server messages#15940
daymxn merged 4 commits into
mainfirebase/firebase-ios-sdk:mainfrom
dlr/add-logging-to-live-apifirebase/firebase-ios-sdk:dlr/add-logging-to-live-apiCopy head branch name to clipboard

Conversation

@daymxn

@daymxn daymxn commented Mar 13, 2026

Copy link
Copy Markdown
Member

Per b/492529978,

This PR adds support for the additionalLoggingEnabled flag in LiveSessionService. More specifically, when additional logging is enabled, and the SDK is being built in debug mode (similar to how we structure additional logging in GenerativeAIService), messages from the server in a LiveSession will be logged as JSON objects before we attempt to parse them.

This should not only help in debugging server responses, but also debugging issues in our types (should the response not align with the types we've set up).

#no-changelog

@daymxn
daymxn requested a review from andrewheard March 13, 2026 17:35
@daymxn daymxn self-assigned this Mar 13, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

@daymxn
daymxn enabled auto-merge (squash) March 13, 2026 17:35

@andrewheard andrewheard left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on green CI

Comment thread FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift
@daymxn
daymxn requested a review from andrewheard March 17, 2026 15:53

@andrewheard andrewheard left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I forgot to click approve when I LGTMed. 🤦‍♂️

@daymxn
daymxn merged commit dad019e into main Mar 20, 2026
91 checks passed
@daymxn
daymxn deleted the dlr/add-logging-to-live-api branch March 20, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.