Skip to main content

Module deepseek

Module deepseek 

Source
Expand description

DeepSeek API provider.

DeepSeek’s chat API is close to OpenAI’s shape, but exposes provider-specific fields such as thinking and cache-token usage details. This provider keeps those fields native instead of routing through OpenAI SDK structs.

Structs§

DeepSeekBalance
DeepSeekBalanceInfo
DeepSeekChatOptions
Extra DeepSeek chat-completions options that are not part of the generic ModelProvider trait.
DeepSeekConfig
Configuration for DeepSeekProvider.
DeepSeekFimChoice
DeepSeekFimRequest
Request for DeepSeek beta FIM completion.
DeepSeekFimResponse
DeepSeekModel
DeepSeekModelList
DeepSeekProvider
ModelProvider implementation backed by the DeepSeek API.

Enums§

DeepSeekResponseFormat