firebase-ios-sdk
firebase-ios-sdk copied to clipboard
[Firebase AI] URL Context tool intermittently throws 500 errors on Google AI
Description
Using the URL Context tool with the Gemini Developer API (Google AI) frequently results in HTTP 500 errors from the backend.
Reproducing the issue
The integration test intermittently fails: https://github.com/firebase/firebase-ios-sdk/blob/541ac342abead313f2ce0ccf33278962b5c1e43c/FirebaseAI/Tests/TestApp/Tests/Integration/GenerateContentIntegrationTests.swift#L427-L452
Firebase SDK Version
12.4.0
Xcode Version
26.0
Installation Method
Swift Package Manager
Firebase Product(s)
AI Logic
Targeted Platforms
All
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!