Skip to main content

Module request

Module request 

Source
Expand description

ApiRequest builder module.

Provides a safe, chainable request builder that wraps the internal crate::raw::ChatCompletionRequest. The builder intentionally avoids exposing raw configuration enums (like Model) to downstream callers. Use the convenience constructors deepseek_chat(...) and deepseek_reasoner(...) to pick a model.

Structsยง

ApiRequest
A safe, chainable request builder that wraps ChatCompletionRequest.