Skip to main content

ai_stream_client 0.2.0 copy "ai_stream_client: ^0.2.0" to clipboard
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 timeout parameter to AiStreamClient (default 60 s) to surface a typed AiTimeoutException on stalled connections.
  • Added AiTool model and tools / toolChoice fields on AiChatRequest for OpenAI-compatible function calling.
  • Added AiTimeoutException to the sealed error hierarchy.

0.1.0 #

  • Initial release with typed messages, SSE streaming, cancellation, custom headers, and structured errors.
1
likes
160
points
752
downloads

Documentation

API reference

Publisher

verified publishersyedwaleednawaz.com

Weekly Downloads

A typed, provider-neutral Dart client for streaming OpenAI-compatible chat APIs with cancellation and structured errors.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai #streaming #api-client #sse

License

MIT (license)

Dependencies

http

More

Packages that depend on ai_stream_client