api_xai 0.6.1

X.AI Grok API client for accessing large language models (LLMs).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Common wire types shared across `api_xai` components.
//!
//! Re-exported from `api_openai_compatible` to eliminate duplication.

mod private
{
  pub use api_openai_compatible::{ Usage, Role };
}

crate::mod_interface!
{
  exposed use
  {
    Usage,
    Role,
  };
}