Documentation
¶
Overview ¶
Package deepseek provides constructors for DeepSeek chat.Clients.
Index ¶
Constants ¶
const ( BaseURLAnthropic = "https://api.deepseek.com/anthropic" BaseURLOpenAI = "https://api.deepseek.com" ModelDeepSeekV4Flash = "deepseek-v4-flash" ModelDeepSeekV4Pro = "deepseek-v4-pro" ModelReasoner = "deepseek-reasoner" )
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.
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. Image input is treated as text only; once the model is confirmed to support vision, build an openai.Config yourself to override it.
Types ¶
This section is empty.