Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 729 Bytes

dedicatedchatstreambodytoolchoice.md

File metadata and controls

24 lines (15 loc) · 729 Bytes

DedicatedChatStreamBodyToolChoice

Determines the tool calling behavior of the model. When set to none, the model will bypass tool execution and generate a response directly. In auto mode (the default), the model dynamically decides whether to call a tool or respond with a message. Alternatively, setting required ensures that the model invokes at least one tool before responding to the user. You can also specify a particular tool by {"type": "function", "function": {"name": "my_function"}}.

Supported Types

str

value: str = /* values here */

models.DedicatedChatStreamBodyToolChoiceObject

value: models.DedicatedChatStreamBodyToolChoiceObject = /* values here */