Skip to main content

encode_request_with_dialect

Function encode_request_with_dialect 

Source
pub fn encode_request_with_dialect(
    req: &CompletionRequest,
    echo_mode: ThinkingEcho,
    effort_override: Option<ReasoningEffort>,
    dialect: ChatDialect,
) -> CreateChatCompletionRequest
Expand description

Same shape as encode_request_full, but allows the provider to specify a compatible vendor dialect.