pub struct KimiConfig {
pub api_key: String,
pub base_url: String,
pub model: String,
}Expand description
Configuration for a Kimi model served through Moonshot AI’s OpenAI-compatible API.
Fields§
§api_key: StringAPI key sent as a bearer token.
base_url: StringAPI base URL ending in the OpenAI-compatible version path.
model: StringKimi model identifier sent with each request.
Auto Trait Implementations§
impl Freeze for KimiConfig
impl RefUnwindSafe for KimiConfig
impl Send for KimiConfig
impl Sync for KimiConfig
impl Unpin for KimiConfig
impl UnsafeUnpin for KimiConfig
impl UnwindSafe for KimiConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more