@@ -275,7 +275,7 @@ pub fn count_anthropic_tokens(
}
}
- // Tiktoken doesn't yet support these models, so we manually use the
+ // Tiktoken doesn't support these models, so we manually use the
// same tokenizer as GPT-4.
tiktoken_rs::num_tokens_from_messages("gpt-4", &string_messages)
.map(|tokens| (tokens + tokens_from_images) as u64)
@@ -878,7 +878,7 @@ pub fn get_bedrock_tokens(
}
}
- // Tiktoken doesn't yet support these models, so we manually use the
+ // Tiktoken doesn't support these models, so we manually use the
// same tokenizer as GPT-4.
tiktoken_rs::num_tokens_from_messages("gpt-4", &string_messages)
.map(|tokens| (tokens + tokens_from_images) as u64)
@@ -690,7 +690,7 @@ pub fn count_google_tokens(
})
.collect::<Vec<_>>();
- // Tiktoken doesn't yet support these models, so we manually use the
+ // Tiktoken doesn't support these models, so we manually use the
// same tokenizer as GPT-4.
tiktoken_rs::num_tokens_from_messages("gpt-4", &messages).map(|tokens| tokens as u64)
})