Documentation
¶
Overview ¶
Package deepseek provides constructors for DeepSeek chat.Clients.
Index ¶
Constants ¶
const ( BaseURLAnthropic = "https://api.deepseek.com/anthropic" BaseURLOpenAI = "https://api.deepseek.com" ModelDeepSeekFlash = "deepseek-flash" ModelDeepSeekV4Pro = "deepseek-v4-pro" )
Variables ¶
This section is empty.
Functions ¶
func NewAnthropic ¶
func NewAnthropic(cfg anthropicprovider.Config) *anthropicprovider.Client
NewAnthropic creates a client for DeepSeek's Anthropic-compatible endpoint.
Media is passed through as for any endpoint. DeepSeek reads images only, and not on every model; whether to send media is the caller's choice: set TextOnly to replace it with a note instead.
func NewResponses ¶
func NewResponses(cfg openaiprovider.Config) *openaiprovider.Client
NewResponses creates a client for DeepSeek's Responses API.
DeepSeek's Responses endpoint is stateless and does not recognize the store / include parameters; reasoning comes back as plain reasoning items that must be sent back whole. Media is handled as in NewAnthropic: set TextOnly when the model should not receive it.
Types ¶
This section is empty.