fmt/clippy

This commit is contained in:
Adil Hafeez 2025-06-05 12:06:50 -07:00
parent 29503ba95e
commit 22fde1f333
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
6 changed files with 6 additions and 8 deletions

View file

@ -14,7 +14,7 @@ pub fn token_count(model_name: &str, text: &str) -> Result<usize, String> {
);
"gpt-4"
}
true => model_name
true => model_name,
};
// Consideration: is it more expensive to instantiate the BPE object every time, or to contend the singleton?