rodiumai 0.1.1
rodiumai: ^0.1.1 copied to clipboard
Official Dart/Flutter SDK for the RodiumAI API. Access GPT, Claude, Gemini, DeepSeek and more — pay with Mobile Money via RODI credits.
Changelog #
Tous les changements notables sont documentés ici. Format basé sur Keep a Changelog.
[Unreleased] #
Changed #
- Breaking: Removed
RodiumAIProviderenum — providers come fromGET /v1/models(providerPrefixes,byProvider('openai')) - Breaking: Removed static
RodiumAIModelenum — dynamic catalogue only - Breaking: Removed
baseUrlconstructor parameter - Added i18n:
localeon client +.language()for AI responses (en,fr,es) - Added
RodiumAIMessagesfor localized SDK error hints
0.1.0 - 2026-06-09 #
Added #
RodiumAIClientavecchat(),stream(),models()- Fluent builder immutable :
model(),temperature(),topP(),maxTokens(),systemPrompt(),stop() RodiumAIProviderenum pour filtrer les modèles par provider- DTOs :
ChatMessage,ChatResponse,ChatStreamDelta,ModelInfo - Exceptions typées :
UnauthorizedException,InsufficientCreditsException,RateLimitException,ValidationException - Streaming SSE via
Stream<ChatStreamDelta> - Intercepteur Dio pour auth et logs
- Helpers catalogue :
ModelCollection.byProvider(),chatModels,withContextAtLeast(),findById() - Tests unitaires avec mocks Dio injectables
- CI GitHub Actions — Dart 3.0 / stable / beta
- pub.dev dry-run check dans la CI