Expand description
AiClient — typed façade over genai + the Anthropic-direct
path.
Structs§
- AiClient
- Typed AI client. Construct via
AiClient::new. - Chat
Request - One-shot or streaming chat request.
- Chat
Response - Non-streaming chat response.
- Chat
Stream - Async stream of
ChatStreamEvents. The stream is!Syncto avoid pinning trade-offs in callers; it isSendso it can move acrosstokio::spawnboundaries.
Enums§
- Chat
Stream Event - One event from the streaming chat path.