Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:fix typos #242

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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