Skip to main content

Module chat_request

Module chat_request 

Source
Expand description

OpenAI-compatible chat-completion request envelope.

The shape preserves all upstream fields (extra): the proxy must forward unknown fields verbatim so future OpenAI parameters (e.g. reasoning_effort, response_format) pass through without a release of this crate. model and messages are typed for the use cases that need to read or modify them; everything else falls through extra.

Structs§

ChatRequest
Wire-shape chat-completion request.