Skip to content

DeepSeek API

YarCraSy edited this page Jul 8, 2026 · 2 revisions

Previous page: Message Contract

DeepSeek API

The AI integration lives in src/deepseekApi and is exclusive to DeepSeek.

Responsibilities:

  • build requests compatible with DeepSeek.
  • run chat completion and streaming.
  • expose FIM when used.
  • support tool calls.
  • map HTTP/SSE errors into errors handlers can consume.

Do not reintroduce Ollama, a multiprovider selector, or placeholders for other providers.

External reference

The source of truth for the HTTP contract is the official documentation:

Before changing request/response parameters, review those pages and update Official references.


Next page: Chat Streaming

Clone this wiki locally