VSCode Copilot 如何配置第三方API/自定义端点?

相关问题:https://github.com/microsoft/vscode/issues/317810

之前在内部版本提供,现在升级到 Version: 1.122.0 公开发布版本就可以使用。

点击设置按钮,打开 chatLanguageModels.json 输入以下内容。

json 复制代码
[
	{
		"name": "Custom Endpoint",
		"vendor": "customendpoint",
		"apiKey": "${input:chat.lm.secret.1b30679}",
		"models": [
			{
				"id": "deepseek-v4-flash",
				"name": "deepseek-flash",
				"url": "https://api.deepseek.com/chat/completions",
				"toolCalling": true,
				"vision": false,
				"maxInputTokens": 1000000,
				"maxOutputTokens": 384000
			},
			{
				"id": "deepseek-v4-pro",
				"name": "deepseek-pro",
				"url": "https://api.deepseek.com/chat/completions",
				"toolCalling": true,
				"vision": false,
				"thinking": true,
				"maxInputTokens": 1000000,
				"maxOutputTokens": 384000
			}
		]
	}
]
相关推荐
摇滚侠3 天前
IDEA 创建 Java 项目 手动整合 SSM 框架
java·ide·intellij-idea
霸道流氓气质3 天前
Trae IDE 新手入门指南
ide
BBWEYY终身尊贵会员3 天前
2026年6月四款建站工具怎么选?BBWEYY、比文云、GitHub Copilot、Dreamweaver 简明对比
github·copilot·dreamweaver
爱就是恒久忍耐3 天前
VSCode里如何比较2个branch
ide·vscode·编辑器
意法半导体STM323 天前
【官方原创】如何为STM32CubeMX2配置Visual Studio Code配置方案
vscode·stm32·单片机·嵌入式硬件·策略模式·stm32cubemx·嵌入式开发
MicrosoftReactor3 天前
技术速递|从一次性提示到标准化工作流:如何在 GitHub Copilot CLI 中使用自定义智能体
github·copilot·cli·智能体
bloglin999993 天前
vscode中可视化的合并分支,在“合并编辑器中解析”中“与基线进行比较”是什么意思
ide·vscode·编辑器
终将老去的穷苦程序员3 天前
IntelliJ IDEA 的安装教程
java·ide·intellij-idea
天疆说3 天前
在 Ubuntu 的 VSCode 中配置 MATLAB
vscode·ubuntu·matlab
春日见4 天前
vscode的AI编程插件推荐:
大数据·ide·vscode·算法·机器学习·编辑器·ai编程