HTTP service for DeepSeek API.
DeepSeek uses an OpenAI-compatible API format, so this service mirrors the OpenAI service with DeepSeek-specific defaults.
Summary
Functions
Sends a chat completion request to the DeepSeek API.
Streams a chat completion from the DeepSeek API as a lazy enumerable of text chunks.
Functions
@spec chat( ExAgent.Providers.DeepSeek.t(), [ExAgent.Message.t()], keyword() ) :: {:ok, ExAgent.Message.t()} | {:tool_call, String.t(), map()} | {:error, term()}
Sends a chat completion request to the DeepSeek API.
@spec stream(ExAgent.Providers.DeepSeek.t(), [ExAgent.Message.t()], keyword()) :: Enumerable.t()
Streams a chat completion from the DeepSeek API as a lazy enumerable of text chunks.