Expand description
Blocking (sync-style) client facade built on top of the async SDK.
This module is intended for applications that cannot use async/await.
It runs SDK futures on an internal Tokio runtime and exposes blocking
request methods across the SDK API namespaces.
Structsยง
- Sync
Auth Api - Blocking wrapper for
AuthApi. - Sync
Batch Api - Blocking wrapper for
BatchApi. - Sync
Chat Api - Blocking wrapper for the legacy
ChatApi. - Sync
Chat Completion Builder - Blocking wrapper for
ChatCompletionBuilder. - Sync
Collections Api - Blocking wrapper for
CollectionsApi. - Sync
Create Response Builder - Blocking wrapper for
CreateResponseBuilder. - Sync
Deferred Response Poller - Blocking wrapper for
DeferredResponsePoller. - Sync
Files Api - Blocking wrapper for
FilesApi. - Sync
Image Generation Builder - Blocking wrapper for
ImageGenerationBuilder. - Sync
Images Api - Blocking wrapper for
ImagesApi. - Sync
Models Api - Blocking wrapper for
ModelsApi. - Sync
Responses Api - Blocking wrapper for
ResponsesApi. - Sync
Stateful Chat - Blocking wrapper for stateful chat interactions.
- Sync
Tokenizer Api - Blocking wrapper for
TokenizerApi. - Sync
Upload File Builder - Blocking wrapper for
UploadFileBuilder. - Sync
Videos Api - Blocking wrapper for
VideosApi. - Sync
XaiClient - Blocking/sync facade for the xAI SDK.