Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,11 @@ The purpose is to build infrastructure in the field of large models, through the
<td> <a href="https://code.visualstudio.com/docs/intelligentapps/overview"> AI Toolkit </a> </td>
<td> AI Toolkit for Visual Studio Code is a comprehensive extension that empowers developers and AI engineers to build, test, and deploy intelligent applications using generative AI models. </td>
</tr>
<tr>
<td> <img src="https://github.com/JohnnyZ93/oai-compatible-copilot/blob/main/assets/logo.png?raw=true" alt="Icon" width="64" height="auto" /> </td>
<td> <a href="https://github.com/deepseek-ai/awesome-deepseek-integration/blob/main/docs/oai-compatible-copilot/README.md"> OAI Compatible Provider for Copilot </a> </td>
<td> An open-source VS Code extension to use openai compatible inference providers in GitHub Copilot. </td>
</tr>
</table>

<p style="text-align: right;"><a href="#table-of-contents">^ Back to Contents ^</a></p>
Expand Down
5 changes: 5 additions & 0 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,11 @@
<td> <a href="https://code.visualstudio.com/docs/intelligentapps/overview"> AI Toolkit </a> </td>
<td> Visual Studio Code 的 AI Toolkit 是一个综合性扩展,为开发人员和 AI 工程师提供使用生成式 AI 模型构建、测试和部署智能应用程序的能力。 </td>
</tr>
<tr>
<td> <img src="https://github.com/JohnnyZ93/oai-compatible-copilot/blob/main/assets/logo.png?raw=true" alt="Icon" width="64" height="auto" /> </td>
<td> <a href="https://github.com/deepseek-ai/awesome-deepseek-integration/blob/main/docs/oai-compatible-copilot/README_cn.md"> OAI Compatible Provider for Copilot </a> </td>
<td> 开源的 VS Code 扩展,可在 GitHub Copilot 中使用 OpenAI 兼容的推理提供商。 </td>
</tr>
</table>

<p style="text-align: right;"><a href="#目录">^ 返回目录 ^</a></p>
Expand Down
5 changes: 5 additions & 0 deletions README_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,11 @@ Integra la API de DeepSeek en softwares populares. Accede a la [Plataforma Abier
<td> <a href="https://code.visualstudio.com/docs/intelligentapps/overview"> AI Toolkit </a> </td>
<td> AI Toolkit para Visual Studio Code es una extensión integral que permite a desarrolladores e ingenieros de IA construir, probar y desplegar aplicaciones inteligentes utilizando modelos de IA generativa. </td>
</tr>
<tr>
<td> <img src="https://github.com/JohnnyZ93/oai-compatible-copilot/blob/main/assets/logo.png?raw=true" alt="Icon" width="64" height="auto" /> </td>
<td> <a href="https://github.com/deepseek-ai/awesome-deepseek-integration/blob/main/docs/oai-compatible-copilot/README.md"> OAI Compatible Provider for Copilot </a> </td>
<td> Una extensión de código abierto para VS Code para usar proveedores de inferencia compatibles con OpenAI en GitHub Copilot. </td>
</tr>
</table>

<p style="text-align: right;"><a href="#tabla-de-contenidos">^ Volver al índice ^</a></p>
Expand Down
5 changes: 5 additions & 0 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,11 @@ DeepSeek API を人気のソフトウェアに統合します。API キーを取
<td> <a href="https://code.visualstudio.com/docs/intelligentapps/overview"> AI Toolkit </a> </td>
<td> Visual Studio Code 用 AI Toolkit は、開発者や AI エンジニアが生成 AI モデルを使用してインテリジェントなアプリケーションを構築、テスト、およびデプロイすることを可能にする包括的な拡張機能です。 </td>
</tr>
<tr>
<td> <img src="https://github.com/JohnnyZ93/oai-compatible-copilot/blob/main/assets/logo.png?raw=true" alt="Icon" width="64" height="auto" /> </td>
<td> <a href="https://github.com/deepseek-ai/awesome-deepseek-integration/blob/main/docs/oai-compatible-copilot/README.md"> OAI Compatible Provider for Copilot </a> </td>
<td> GitHub Copilot で OpenAI 互換の推論プロバイダーを使用するためのオープンソースの VS Code 拡張機能です。 </td>
</tr>
</table>

<p style="text-align: right;"><a href="#目次">^ 目次に戻る ^</a></p>
Expand Down
5 changes: 5 additions & 0 deletions README_zh_tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,11 @@
<td> <a href="https://code.visualstudio.com/docs/intelligentapps/overview"> AI Toolkit </a> </td>
<td> Visual Studio Code 的 AI Toolkit 是一個綜合性擴展,為開發人員和 AI 工程師提供使用生成式 AI 模型構建、測試和部署智能應用程序的能力。 </td>
</tr>
<tr>
<td> <img src="https://github.com/JohnnyZ93/oai-compatible-copilot/blob/main/assets/logo.png?raw=true" alt="Icon" width="64" height="auto" /> </td>
<td> <a href="https://github.com/deepseek-ai/awesome-deepseek-integration/blob/main/docs/oai-compatible-copilot/README.md"> OAI Compatible Provider for Copilot </a> </td>
<td> 開源的 VS Code 擴充功能,可在 GitHub Copilot 中使用 OpenAI 相容的推理提供者。 </td>
</tr>
</table>

<p style="text-align: right;"><a href="#目錄">^ 返回目錄 ^</a></p>
Expand Down
48 changes: 48 additions & 0 deletions docs/oai-compatible-copilot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<img src="https://github.com/JohnnyZ93/oai-compatible-copilot/blob/main/assets/logo.png?raw=true" width="64" height="auto" />

# [OAI Compatible Provider for Copilot](https://marketplace.visualstudio.com/items?itemName=johnny-zhao.oai-compatible-copilot)

An open-source VS Code extension to use openai compatible inference providers in GitHub Copilot.

[Source Code](https://github.com/JohnnyZ93/oai-compatible-copilot)

[VS Code Chat Provider API](https://code.visualstudio.com/api/extension-guides/ai/language-model-chat-provider)

## ✨ Features
- Supports almost all OpenAI-compatible providers, such as ModelScope, DeepSeek...
- Supports vision models.
- Offers additional configuration options for chat requests.
- Supports control model thinking and reasoning content show in chat interface.
- Supports configuring models from multiple providers simultaneously, automatically managing API keys without switch them repeatedly.
- Supports defining multiple configurations for the same model ID with different settings (e.g. thinking enable/disable for GLM-4.6).

## Requirements
- VS Code 1.104.0 or higher.
- DeepSeek API key.

## ⚡ Integrate with DeepSeek API
1. Install the OAI Compatible Provider for Copilot extension [here](https://marketplace.visualstudio.com/items?itemName=johnny-zhao.oai-compatible-copilot).
2. Open VS Code Settings and configure `oaicopilot.baseUrl` and `oaicopilot.models`.
3. Open Github Copilot Chat interface.
4. Click the model picker and select "Manage Models...".
5. Choose "OAI Compatible" provider.
6. Enter your API key — it will be saved locally.
7. Select the DeepSeek models by your configuration.

```json
"oaicopilot.baseUrl": "https://api.deepseek.com/v1",
"oaicopilot.models": [
{
"id": "deepseek-chat",
"owned_by": "deepseek",
"context_length": 128000,
"max_tokens": 8000
},
{
"id": "deepseek-reasoner",
"owned_by": "deepseek",
"context_length": 128000,
"max_tokens": 16000
}
]
```
48 changes: 48 additions & 0 deletions docs/oai-compatible-copilot/README_cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<img src="https://github.com/JohnnyZ93/oai-compatible-copilot/blob/main/assets/logo.png?raw=true" width="64" height="auto" />

# [OAI Compatible Provider for Copilot](https://marketplace.visualstudio.com/items?itemName=johnny-zhao.oai-compatible-copilot)

开源的 VS Code 扩展,可在 GitHub Copilot 中使用 OpenAI 兼容的推理提供商。

[源代码](https://github.com/JohnnyZ93/oai-compatible-copilot)

[VS Code Chat Provider API](https://code.visualstudio.com/api/extension-guides/ai/language-model-chat-provider)

## ✨ 特性
- 支持几乎所有 OpenAI 兼容的提供商,如 ModelScope、DeepSeek...
- 支持视觉模型
- 为聊天请求提供额外的配置选项
- 支持在聊天界面中控制模型的思考和推理内容显示
- 支持同时配置来自多个提供商的模型,自动管理 API 密钥而无需重复切换
- 支持为同一模型 ID 定义具有不同设置的多个配置(例如 GLM-4.6 的思考启用/禁用)

## 要求
- VS Code 1.104.0 或更高版本
- DeepSeek API 密钥

## ⚡ 与 DeepSeek API 集成
1. 安装 OAI Compatible Provider for Copilot 扩展 [此处](https://marketplace.visualstudio.com/items?itemName=johnny-zhao.oai-compatible-copilot)
2. 打开 VS Code 设置并配置 `oaicopilot.baseUrl` 和 `oaicopilot.models`
3. 打开 GitHub Copilot Chat 界面
4. 点击模型选择器并选择 "Manage Models..."
5. 选择 "OAI Compatible" 提供商
6. 输入您的 API 密钥 — 它将保存在本地
7. 选择您配置的 DeepSeek 模型

```json
"oaicopilot.baseUrl": "https://api.deepseek.com/v1",
"oaicopilot.models": [
{
"id": "deepseek-chat",
"owned_by": "deepseek",
"context_length": 128000,
"max_tokens": 8000
},
{
"id": "deepseek-reasoner",
"owned_by": "deepseek",
"context_length": 128000,
"max_tokens": 16000
}
]
```