Expand description
Shared wire-format types used across all provider modules.
These types are not tied to any specific provider. They live here so
that request.rs (the provider-agnostic request layer) and each provider’s
raw/ module can all reference them without creating circular dependencies
or leaking DeepSeek-specific internals.
Structs§
- Function
Definition - The function definition inside a
ToolDefinition. - Function
Name - Response
Format - OpenAI-style
response_formatfield. - Tool
Choice Function - Object form:
{ "type": "function", "function": { "name": "..." } }. - Tool
Definition - A tool (function) that the model may call.
Enums§
- Response
Format Kind - Tool
Choice - OpenAI-style tool_choice field (serialised as either a string or an object).
- Tool
Choice Mode - String variants of tool_choice.
- Tool
Kind - The kind of a tool. Only
functionis currently defined.