Skip to content

Commit 961f90f

Browse files
authored
Fix typo in ChatCompletionToolChoiceOption docs (#401)
1 parent c0f9adc commit 961f90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async-openai/src/types/chat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ pub struct ChatCompletionNamedToolChoice {
542542
/// `required` means the model must call one or more tools.
543543
/// Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
544544
///
545-
/// `none` is the default when no tools are present. `auto` is the default if tools are present.present.
545+
/// `none` is the default when no tools are present. `auto` is the default if tools are present.
546546
#[derive(Clone, Serialize, Default, Debug, Deserialize, PartialEq)]
547547
#[serde(rename_all = "lowercase")]
548548
pub enum ChatCompletionToolChoiceOption {

0 commit comments

Comments
 (0)