Skip to content

Commit

Permalink
chore:fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bodhi-crypo committed Jan 25, 2025
1 parent 0a11193 commit 780c6fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rig-core/src/providers/anthropic/completion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl CompletionModel {
}
}

/// Anthropic requires a `max_tokens` parameter to be set, which is dependant on the model. If not
/// Anthropic requires a `max_tokens` parameter to be set, which is dependent on the model. If not
/// set or if set too high, the request will fail. The following values are based on the models
/// available at the time of writing.
///
Expand Down
2 changes: 1 addition & 1 deletion rig-core/src/providers/gemini/completion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ pub mod gemini_api_types {
/// that the model doesn't apply top-k sampling and doesn't allow setting topK on requests.
pub top_k: Option<i32>,
/// Presence penalty applied to the next token's logprobs if the token has already been seen in the response.
/// This penalty is binary on/off and not dependant on the number of times the token is used (after the first).
/// This penalty is binary on/off and not dependent on the number of times the token is used (after the first).
/// Use frequencyPenalty for a penalty that increases with each use. A positive penalty will discourage the use
/// of tokens that have already been used in the response, increasing the vocabulary. A negative penalty will
/// encourage the use of tokens that have already been used in the response, decreasing the vocabulary.
Expand Down
2 changes: 1 addition & 1 deletion rig-eternalai/src/providers/eternalai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ impl completion::CompletionModel for CompletionModel {
};
match prompt {
None => {
tracing::info!("on-chain sytem prompt is none")
tracing::info!("on-chain system prompt is none")
}
Some(value) => {
let temp = completion::Message {
Expand Down

0 comments on commit 780c6fe

Please sign in to comment.