use crate::{ProviderUsage, Result, UsageError, UsageProvider};
pub struct KimiProvider;
impl KimiProvider {
pub fn new() -> Self {
Self
}
}
impl Default for KimiProvider {
fn default() -> Self {
Self::new()
}
}
impl UsageProvider for KimiProvider {
fn id(&self) -> &str {
"kimi"
}
fn display_name(&self) -> &str {
"Kimi Code"
}
fn fetch_usage(
&self,
) -> std::pin::Pin<Box<dyn std::future::Future<Output = Result<ProviderUsage>> + Send + '_>>
{
Box::pin(async move {
Err(UsageError::FetchFailed {
provider: "kimi".to_string(),
source: "Not yet implemented".into(),
})
})
}
}