ai_stream_client 0.2.0
ai_stream_client: ^0.2.0 copied to clipboard
A typed, provider-neutral Dart client for streaming OpenAI-compatible chat APIs with cancellation and structured errors.
0.2.0 #
- Added
timeoutparameter toAiStreamClient(default 60 s) to surface a typedAiTimeoutExceptionon stalled connections. - Added
AiToolmodel andtools/toolChoicefields onAiChatRequestfor OpenAI-compatible function calling. - Added
AiTimeoutExceptionto the sealed error hierarchy.
0.1.0 #
- Initial release with typed messages, SSE streaming, cancellation, custom headers, and structured errors.