Package-level declarations
Types
Link copied to clipboard
Serializer for OpenAIToolChoice handling the mode string ("auto", "none", "required") and the named-tool object forms: the Chat Completions form ({"type": "function", "function": {"name": "..."}}) and the Responses API form ({"type": "function", "name": "..."}).