From 869676b056a37195835e72fe26ca11df20b6d7a5 Mon Sep 17 00:00:00 2001 From: lazymio Date: Wed, 2 Jul 2025 16:01:36 +0800 Subject: [PATCH] Fix typo in `ChatCompletionToolChoiceOption` docs --- async-openai/src/types/chat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async-openai/src/types/chat.rs b/async-openai/src/types/chat.rs index 68c93e19..66214ff5 100644 --- a/async-openai/src/types/chat.rs +++ b/async-openai/src/types/chat.rs @@ -542,7 +542,7 @@ pub struct ChatCompletionNamedToolChoice { /// `required` means the model must call one or more tools. /// Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. /// -/// `none` is the default when no tools are present. `auto` is the default if tools are present.present. +/// `none` is the default when no tools are present. `auto` is the default if tools are present. #[derive(Clone, Serialize, Default, Debug, Deserialize, PartialEq)] #[serde(rename_all = "lowercase")] pub enum ChatCompletionToolChoiceOption {