deepseek

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package deepseek provides constructors for DeepSeek chat.Clients.

Index

Constants

View Source
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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL