Skip to content

dixoxib/continue-deepseek-api

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21,574 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Continue with DeepSeek API Integration

DeepSeek Fork: This repository is a maintained fork of Continue with complete native DeepSeek API integration, featuring native tool calling and agentic reasoning with deepseek-v4-flash and deepseek-v4-pro β€” both with configurable thinking mode, 1M context window, and strict adherence to official DeepSeek API schema specifications. The legacy models deepseek-chat and deepseek-reasoner have been removed.


Source-controlled AI checks, enforceable in CI

Banner

DeepSeek V4 Integration Features

This fork extends Continue with comprehensive DeepSeek V4 API support:

Models

  • deepseek-v4-flash β€” Fast agentic reasoning model with configurable thinking mode
  • deepseek-v4-pro β€” Powerful agentic reasoning model with configurable thinking mode + FIM support
  • deepseek-fim-beta β€” Fill-in-Middle autocomplete via beta endpoint (routes to V4 Pro)
  • 1M context window, 384K max output tokens

πŸ”§ 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 thinking modes
  • Configurable Reasoning - GUI toggle wires thinking.type: "enabled"|"disabled" + reasoning_effort: "high"|"max"
  • API Specification Compliance - Strict adherence to official DeepSeek V4 API schema specifications

βš™οΈ 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 one active branch:

  • main β€” Latest stable version with DeepSeek V4 integration, regularly synced with upstream continuedev/continue

πŸš€ Upgrade Guide

If you're migrating from the legacy deepseek-chat or deepseek-reasoner models, simply update your config.yaml:

# Before (deprecated)
model: deepseek-chat
# model: deepseek-reasoner

# After (V4)
model: deepseek-v4-flash   # fast, agentic reasoning
# model: deepseek-v4-pro   # powerful, agentic reasoning + FIM

Both V4 models default to thinking mode. Use the GUI toggle to disable reasoning when not needed.

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

0 stars

Watchers

0 watching

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%