mirror of
https://github.com/mii443/rust-genai.git
synced 2025-08-23 00:35:33 +00:00
. minor proof-comment, and add gemini flash-exp
This commit is contained in:
@ -17,6 +17,7 @@ pub struct GeminiAdapter;
|
||||
|
||||
const MODELS: &[&str] = &[
|
||||
"gemini-1.5-pro",
|
||||
"gemini-2.0-flash-exp",
|
||||
"gemini-1.5-flash",
|
||||
"gemini-1.5-flash-8b",
|
||||
"gemini-1.0-pro",
|
||||
|
@ -90,7 +90,7 @@ pub enum Error {
|
||||
#[from]
|
||||
JsonValueExt(JsonValueExtError),
|
||||
ReqwestEventSource(reqwest_eventsource::Error),
|
||||
// Note: will probably need to remvoe this one to give more context
|
||||
// Note: will probably need to remove this one to provide more context
|
||||
#[from]
|
||||
SerdeJson(serde_json::Error),
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
//! genai library - Any AI provider AI client library.
|
||||
//! `genai` library - A client library for any AI provider.
|
||||
//! See [examples/c00-readme.rs](./examples/c00-readme.rs)
|
||||
|
||||
// region: --- Modules
|
||||
|
Reference in New Issue
Block a user