Nigel211

codex_deepseek_proxy

Nigel211

将 OpenAI Responses API 请求翻译为 DeepSeek Chat Completions API 的流式代理,让 Codex 接入 DeepSeek 模型。Streaming proxy for cc-switch that bridges OpenAI Responses API to DeepSeek Chat API, enabling Codex to use DeepSeek

AI 简介

codex_deepseek_proxy 是一个将 OpenAI Responses API 请求翻译为 DeepSeek Chat Completions API 的流式代理,旨在让 Codex IDE 或 CLI 通过 cc-switch 接入 DeepSeek 模型。该项目核心功能包括完整支持 Function Calling、自动修复消息顺序以确保 tool 消息紧跟 assistant 消息、禁用思考模式以避免兼容性问题等。它使用 Python 开发,并要求至少 Python 3.9 版本及有效的 DeepSeek API Key。此项目适用于需要在开发环境中集成或测试不同 AI 模型的场景,特别是当开发者希望无缝切换并利用 DeepSeek 提供的强大自然语言处理能力时。

Python
MIT License
32
Stars
7
Forks
29
Watchers
0
Issues

Star 增长

今日+2
近 7 天+2
近 30 天+4
综合评分48.11
默认分支main