mirror of
https://github.com/mii443/rust-genai.git
synced 2025-08-22 16:25:27 +00:00
. 0.0.10-alpha.1
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "genai"
|
||||
version = "0.0.9"
|
||||
version = "0.0.10-alpha.1"
|
||||
edition = "2021"
|
||||
rust-version = "1.78"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
@ -6,7 +6,7 @@ use genai::client::Client;
|
||||
|
||||
const MODEL_OPENAI: &str = "gpt-3.5-turbo";
|
||||
const MODEL_ANTHROPIC: &str = "claude-3-haiku-20240307";
|
||||
const MODEL_COHERE: &str = "command-light"; // see: https://docs.cohere.com/docs/models
|
||||
const MODEL_COHERE: &str = "command-light";
|
||||
const MODEL_OLLAMA: &str = "mixtral";
|
||||
|
||||
const MODEL_AND_KEY_ENV_NAME_LIST: &[(&str, &str)] = &[
|
||||
|
10
rustfmt.toml
Normal file
10
rustfmt.toml
Normal file
@ -0,0 +1,10 @@
|
||||
# rustfmt doc - https://rust-lang.github.io/rustfmt/
|
||||
|
||||
# JC Style
|
||||
hard_tabs = true
|
||||
edition = "2021"
|
||||
max_width = 120
|
||||
chain_width = 80
|
||||
array_width = 80
|
||||
|
||||
imports_granularity = "Module" # no effect on rust analyzer
|
Reference in New Issue
Block a user