gemini-rs 2.0.1

A library to interact with the Google Gemini API
Documentation
1
2
3
4
5
6
7
8
9
#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error("serde: {0}")]
    Serde(#[from] serde_json::Error),
    #[error("http: {0}")]
    Http(#[from] reqwest::Error),
    #[error("gemini: {0:?}")]
    Gemini(crate::types::ErrorDetail),
}