feat(ai): add generated GenerateContent API types - #16445
Conversation
Using Gemini Code AssistThe 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
Customization To customize the 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 Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. 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. |
138512e to
798da3b
Compare
6a6c20e to
0d95407
Compare
Summary of ChangesThis pull request introduces a set of auto-generated API types for the GenerateContent functionality within the FirebaseAI component. These types were generated from the OpenAPI specification to ensure consistency and are intended to be wired up in a subsequent pull request. The changes are localized to the FirebaseAILogic target to ensure compatibility across different package managers. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Activity
|
paulb777
left a comment
There was a problem hiding this comment.
LGTM.
One of Gemini's comments 😄
By restricting the iOS SDK's new models to the stateless generateContent paradigm, the Firebase AI Logic SDK misses out on the core features designed for agentic, multi-turn, and long-running AI workflows
Added GenerateContent API types auto-generated from the OpenAPI spec. The generated files have the extension
.gen.swiftto work around file name overlaps with existing public types. They were directly added to theFirebaseAILogictarget, rather than a separate one, in order to satisfy both CocoaPods and SPM, which emitted different warnings/errors about unusedpackage import Foundationor missingFoundationimport. The generated types are unused in this PR and wiring them up was split into #16446.#no-changelog