Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>WendingAI Codex SwitcherNew to Visual Studio Code? Get it now.
WendingAI Codex Switcher

WendingAI Codex Switcher

WendingAI Codex Switcher

|
1 install
| (0) | Free
Codex provider switcher for VS Code and Codex workflows. Built-in WendingAI support, compatible with OpenAI-compatible APIs, custom endpoints, macOS and Windows environment setup. 问鼎AI Codex 切换器,支持多供应商 API、Codex 配置和环境变量适配。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WendingAI Codex Switcher / 问鼎AI Codex 切换器

WendingAI Codex Switcher

问鼎AI Codex 切换器

English

WendingAI Codex Switcher is a Codex provider switcher for VS Code and Codex workflows. It helps developers configure, test, and switch model providers with built-in WendingAI support and compatibility with OpenAI-compatible APIs from other providers.

The extension can write Codex config.toml, manage provider profiles, securely store API keys with VS Code SecretStorage, test /models, /responses, /chat/completions, and streaming endpoints, and provide macOS and Windows environment setup helpers.

中文

问鼎AI Codex 切换器是一款面向 VS Code 和 Codex 工作流的 Codex 服务商切换插件。它可以帮助开发者快速配置、测试和切换 Codex 使用的模型服务商,默认内置问鼎AI,同时支持其他 OpenAI 兼容 API、自定义接口和多供应商模型服务。

插件支持写入 Codex config.toml、管理服务商配置、安全保存 API Key、测试 /models、/responses、/chat/completions 和流式输出接口,并提供 macOS 与 Windows 环境变量适配工具。

中文文档:README.zh-CN.md

Why use it?

  • Built-in WendingAI provider profile
  • Supports OpenAI-compatible APIs and custom endpoints
  • Switch Codex model providers without manually editing config files
  • Test provider compatibility before using Codex
  • Secure API key storage with VS Code SecretStorage
  • Writes and backs up ~/.codex/config.toml
  • macOS and Windows environment setup helpers
  • No-admin Windows launcher and user environment commands
  • Bilingual interface: English and Chinese

为什么使用它?

  • 默认内置问鼎AI服务商配置
  • 支持 OpenAI 兼容 API 和自定义接口
  • 不需要手动编辑 Codex 配置文件
  • 使用 Codex 前可以先测试服务商兼容性
  • 使用 VS Code SecretStorage 安全保存 API Key
  • 自动写入和备份 ~/.codex/config.toml
  • 提供 macOS 和 Windows 环境变量辅助配置
  • 支持 Windows 免管理员启动脚本和用户级环境变量命令
  • 支持中文和英文界面

Features / 功能

English 中文
Built-in WendingAI provider: https://wendingai.future1.us/v1 默认内置问鼎AI服务商:https://wendingai.future1.us/v1
Supports OpenAI, Azure OpenAI, OpenAI-compatible APIs, Ollama, and LM Studio 支持 OpenAI、Azure OpenAI、自定义 OpenAI 兼容接口、Ollama、LM Studio
Writes Codex config.toml 写入 Codex config.toml
Tests /models, /responses, /chat/completions, and streaming 测试 /models、/responses、/chat/completions 和流式输出
Stores API keys with VS Code SecretStorage 使用 VS Code SecretStorage 安全保存 API Key
Provides macOS and Windows environment helpers 提供 macOS 与 Windows 环境变量适配工具

macOS / Windows environment setup

macOS / Windows 环境变量适配

Codex reads API keys from the process environment. VS Code SecretStorage is only readable by this extension, not by Codex itself.

Codex 读取的是运行进程环境变量。VS Code SecretStorage 只有插件自己能读取,Codex 无法直接读取。

Recommended flow / 推荐流程:

  1. Save your API key in the extension. / 在插件中保存 API Key。
  2. Click Apply to Codex. / 点击 应用到 Codex。
  3. Use the macOS or Windows environment helper. / 使用 macOS 或 Windows 环境变量辅助工具。
  4. Fully restart VS Code or restart the current Codex session. / 完全重启 VS Code 或重启当前 Codex 会话。

Windows without administrator permission / Windows 无管理员权限

Use the user-level environment command generated by the extension:

使用插件生成的用户级环境变量命令:

[Environment]::SetEnvironmentVariable('WENDINGAI_API_KEY', 'your_key', 'User')

No administrator permission is required. Close all VS Code windows and reopen VS Code after setting it.

这不需要管理员权限。执行后需要完全关闭 VS Code,再重新打开。

macOS

Use the generated command:

launchctl setenv WENDINGAI_API_KEY 'your_key'

Then fully quit and reopen Visual Studio Code.

执行后需要完全退出并重新打开 Visual Studio Code。

Install / 安装

code --install-extension wendingai-codex-switcher-0.6.3.vsix

Or use VS Code → Extensions → ... → Install from VSIX....

也可以在 VS Code 中通过 Extensions → ... → Install from VSIX... 安装。

Search Keywords / 搜索关键词

Codex switcher, Codex provider switcher, Codex API switcher, Codex config, Codex CLI, VS Code Codex, OpenAI-compatible API, AI provider switcher, WendingAI, Wending AI, 问鼎AI, Codex 切换器, Codex API 切换, Codex 服务商切换, 模型服务商切换, 大模型 API 切换。

Development / 开发

npm test
npm run check:i18n
npm run lint
npm run package:manual

License / 许可证

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft