glean/models/deepseek
DeepSeek models with thinking turned off.
deepseek-chat and deepseek-reasoner were retired on Jul 24, 2026.
The current models switch thinking on per request; for thinking mode see
glean/models/deepseek_reasoning.
Types
Values
pub fn configure(
m: Deepseek,
f: fn(config.ProviderConfig) -> config.ProviderConfig,
) -> Deepseek
Change the provider configuration: base URL, timeout, headers, retries.
|> configure(config.timeout(_, 120_000))
pub fn custom(
api_key key: String,
model model_id: String,
) -> Deepseek
Any other model ID served by this API, such as one released after this version of glean. Only this module’s setters are available, so check the model accepts them.
pub fn flash(api_key key: String) -> Deepseek
DeepSeek V4.1 Flash. Model ID: deepseek-flash.