. 0.0.10-alpha.1

This commit is contained in:
Jeremy Chone
2024-06-07 10:07:13 -07:00
parent 7a61031dc9
commit eb1b429585
3 changed files with 12 additions and 2 deletions

View File

@ -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"

View File

@ -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
View 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