rai-sdk 0.2.0

Rust AI SDK — unified client for OpenAI, Anthropic, and OpenRouter with typed models, structured output, tool calling, and streaming
Documentation
1
2
3
4
5
6
{
  "model": "gpt-4o-mini",
  "protocol_version": 1,
  "provider": "openai",
  "type": "message_start"
}