class

OpenAI::Providers::DeepSeek::Client

Inherits OpenAI::Client < Reference < Object

DeepSeek API Client

Extends the base OpenAI client with DeepSeek-specific overrides.

Constructors

new(api_key : String = ENV["DEEPSEEK_API_KEY"]? || "", base_url : String = BASE_URL, timeout : Time::Span = OpenAI::Client::DEFAULT_TIMEOUT, organization : String | Nil = nil)
Source

Instance methods

list_models

Override list_models to use DeepSeek-compatible Model type

Source
retrieve_model(model : String) : DeepSeek::Model

Override retrieve_model to use DeepSeek-compatible Model type

Source