Skip to content

Conversation

hsubox76
Copy link
Contributor

In the emergency fix for #9232, overlooked that the factory export was being used by a test utility. Refactored so that the test utility can use it without exporting it in the public API.

Also added a tsc type check to the tests, that would have caught this.

Copy link

changeset-bot bot commented Aug 29, 2025

🦋 Changeset detected

Latest commit: d8194d2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@firebase/ai Patch
firebase Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@hsubox76 hsubox76 marked this pull request as ready for review August 29, 2025 17:21
@hsubox76 hsubox76 requested a review from a team as a code owner August 29, 2025 17:21
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 29, 2025

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 29, 2025

Size Analysis Report 1

Affected Products

  • @firebase/ai

    • ChatSession

      Size

      TypeBase (4d834de)Merge (f1d771f)Diff
      size21.0 kB21.0 kB-15 B (-0.1%)
    • GenerativeModel

      Size

      TypeBase (4d834de)Merge (f1d771f)Diff
      size24.7 kB24.7 kB-15 B (-0.1%)
    • getGenerativeModel

      Size

      TypeBase (4d834de)Merge (f1d771f)Diff
      size25.1 kB25.1 kB-14 B (-0.1%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/WJnJz0kkUq.html

@@ -0,0 +1,34 @@

import { ComponentContainer, InstanceFactoryOptions } from "@firebase/component";
Copy link
Contributor

Choose a reason for hiding this comment

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

Copyright header.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@hsubox76 hsubox76 requested review from a team as code owners August 29, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants