feat: implement GeminiLanguageModel for FoundationModels - #16528
feat: implement GeminiLanguageModel for FoundationModels#16528andrewheard wants to merge 5 commits into
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. |
79caeac to
f3e6a43
Compare
e8f22c1 to
cab5b74
Compare
89b3b80 to
41f89da
Compare
cab5b74 to
53cec62
Compare
41f89da to
a139002
Compare
bfa74af to
857f0f6
Compare
857f0f6 to
7600831
Compare
7600831 to
c34ef9c
Compare
Introduces
GeminiLanguageModelto allow access to Gemini models through Apple's Foundation Models framework (LanguageModelprotocol).GeminiLanguageModelExecutorto translate model session requests into Gemini REST API calls viaGeminiAPIClient.GeminiTranscriptTranslatorto handle Apple transcript formatting.BackendConfigurationto encapsulate backend URL routing.apiKeyconvenience initializer behind a Swift Package trait (DirectGeminiDeveloperAPIAccess) to prevent hardcoded keys in client apps from Firebase AI Logic.