Skip to content

Commit

Permalink
chore: update tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Nov 30, 2023
1 parent 3287b5c commit e13a2b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jarvis"
version = "1.1.8"
version = "1.1.9"
edition = "2021"
rust-version = "1.64"
description = ""
Expand Down
4 changes: 2 additions & 2 deletions src/openai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ impl AIModel {
// return (recommend, high)
pub fn translating_segment_tokens(&self) -> (usize, usize) {
match self {
AIModel::GPT3_5 => (3000, 3200),
AIModel::GPT4 => (3000, 3200),
AIModel::GPT3_5 => (2600, 3200),
AIModel::GPT4 => (2600, 3200),
}
}

Expand Down

0 comments on commit e13a2b3

Please sign in to comment.