Skip to content

dixoxib/continue-deepseek-api

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21,473 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Continue with DeepSeekDeepSeek API Integration

DeepSeek Fork: This repository is a maintained fork of Continue with complete native DeepSeek API integration, featuring native tool calling for both chat and thinking modes, support for DeepSeek Reasoner and DeepSeek Chat models, and strict adherence to official DeepSeek API schema specifications.


Source-controlled AI checks, enforceable in CI

Banner

DeepSeek Integration Features

This fork extends Continue with comprehensive DeepSeek API support:

๐Ÿ”ง Core Integration

  • Complete Native Integration - First-class DeepSeek LLM provider with full API coverage
  • Native Tool Calling - Full support for agentic tool calling chains in both chat and reasoning modes
  • API Specification Compliance - Strict adherence to official DeepSeek API schema specifications
  • Reasoning Model Optimization - Specialized support for DeepSeek reasoning mode quirks

โš™๏ธ Configuration & Documentation

  • One-Click-Setup - Easy onboarding and configuration in config.yaml with DeepSeek-specific options
  • Model Registry - Included in Continue's model provider registry
  • Documentation - Complete setup guide in /docs/customize/model-providers/more/deepseek.mdx

๐Ÿ”Œ Technical Implementation

  • OpenAI-Compatible Adapter - Uses DeepSeek's OpenAI-compatible API with custom extensions
  • Type Safety - Full TypeScript support with proper type definitions
  • Testing - Comprehensive unit and integration tests
  • Proxy Support - Configurable API base URLs for custom deployments
  • Error Handling - Robust error handling for DeepSeek-specific API responses
  • Beta Features - Support for DeepSeek's beta features and endpoints

๐Ÿ—๏ธ Repository Structure

This repository maintains three active branches:

  • main - Latest stable version with DeepSeek integration
  • deepseek-api - Development branch for DeepSeek-specific features
  • dual-mode - Branch with one combined model untilizing reasoning switch and equalized max-output to 8k token

All branches are regularly synced with upstream continue.dev/main.

Getting started

Paste this into your coding agent of choice:

Help me write checks for this codebase: https://continue.dev/walkthrough

How it works

Continue runs agents on every pull request as GitHub status checks. Each agent is a markdown file in your repo at .continue/checks/. Green if the code looks good, red with a suggested diff if not. Here is an example that performs a security review:

---
name: Security Review
description: Review PR for basic security vulnerabilities
---
Review this PR and check that:
  - No secrets or API keys are hardcoded
  - All new API endpoints have input validation
  - Error responses use the standard error format

Install CLI

AI checks are powered by the open-source Continue CLI (cn). This fork includes DeepSeek API integration - install from this repository to get DeepSeek support.

The installation scripts will clone this repository and build the CLI from source, ensuring you get the latest DeepSeek integration. If the build fails, the installer will fall back to the official npm package (which may not include DeepSeek support).

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/dixoxib/continue-deepseek-api/main/extensions/cli/scripts/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/dixoxib/continue-deepseek-api/main/extensions/cli/scripts/install.ps1 | iex

Or with npm (requires Node.js 20+):

npm i -g @continuedev/cli

Note: The official npm package may not include DeepSeek integration. For full DeepSeek support, use the installation scripts above or build from source.

Building from Source

For complete control or if you want to contribute to development, you can build and install Continue from source. This ensures you get the latest DeepSeek integration features.

Prerequisites

  • Node.js 20+ and npm
  • Git
  • For VS Code extension: Visual Studio Code (for installation)

Option 1: Full Build (All Components)

Use the provided script to install all dependencies and build all components:

# Clone the repository
git clone https://github.com/dixoxib/continue-deepseek-api.git
cd continue-deepseek-api

# Switch to desired branch (main is recommended for DeepSeek integration)
git checkout main

# Run the complete installation script
./scripts/install-dependencies.sh

This script will:

  1. Install root-level dependencies
  2. Build all internal packages (config-types, fetch, openai-adapters, etc.)
  3. Install and build core, GUI, and CLI components
  4. Package the VS Code extension (VSIX file)
  5. Build the binary components

Option 2: CLI Only

If you only need the CLI, build it directly:

# Clone the repository
git clone https://github.com/dixoxib/continue-deepseek-api.git
cd continue-deepseek-api

# Switch to desired branch (main is recommended for DeepSeek integration)
git checkout main

# Install dependencies and build CLI
cd extensions/cli
npm run build:local-deps
npm install -g

# Verify installation
cn --version

Option 3: VS Code Extension Only

To build just the VS Code extension:

# Clone the repository
git clone https://github.com/dixoxib/continue-deepseek-api.git
cd continue-deepseek-api

# Switch to desired branch (main is recommended for DeepSeek integration)
git checkout main

# Build VS Code extension
cd extensions/vscode
npm install
npm run package

# The VSIX file will be created in build/ directory
# Install it manually via: code --install-extension build/continue-*.vsix

Note: Building from source requires Node.js 20+ and may take several minutes depending on your system.

Then run:

cn

Looking for the VS Code extension? See here.

Contributing

Read the contributing guide, and join the GitHub Discussions.

License

Apache 2.0 ยฉ 2023-2024 Continue Dev, Inc.

This fork includes modifications documented in NOTICE.md to comply with Apache License 2.0 requirements for derivative works.

Original Work: Copyright 2023 Continue Dev, Inc. - Licensed under Apache License 2.0
Modifications in This Fork: Copyright 2025 dixoxib (GitHub: @dixoxib) - Licensed under Apache License 2.0

About

Continue with DeepSeek API Integration: Complete native DeepSeek API implementation with native tool calling for chat and thinking modes

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 84.5%
  • JavaScript 7.3%
  • Kotlin 3.8%
  • Python 2.2%
  • Rust 0.7%
  • Tree-sitter Query 0.5%
  • Other 1.0%