gemini_box 0.0.4
gemini_box: ^0.0.4 copied to clipboard
A gemini AI provider based on ai_box.
0.0.4 #
completionsStream()now uses real SSE streaming viastreamGenerateContent+alt=sse(incremental text / thought deltas, function calls and generated media in the final chunk) instead of the single-chunk fallback.
0.0.3 #
- Use the HTTP error normalization shared via
ai_box(package:ai_box/provider_http.dart) instead of a package-local copy. No behavior changes.
0.0.2 #
- Fix the
ai_boxdependency constraint (^0.0.1->^0.1.0). - Normalize HTTP errors to typed
LLMExceptions inGeminiCore(status codes were previously not checked). validateKey()now returnsfalsefor invalid keys instead of throwing.getModels()tolerates a missingmodelsfield in the response.
0.0.1 #
- Initial release.