OpenAI-compat BASE_URL /v1 with provider openai, not the Gemini origin example
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 76/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- yaml
调研方向
首先定位 README 中的 Gemini 示例及其周围的配置文档。更新该示例,使其展示以 /v1 结尾的 BASE_URL、API_KEY 和目录中的有效模型 id;当 README 不再针对这一配置将用户指向 Gemini origin 或 provider 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Working config (openai provider, BASE_URL /v1)
ChatDev already reads BASE_URL / API_KEY from .env and YAML provider: openai. A Chat Completions host whose public catalog is GET https://api.pzero.studio/v1/models (no key) fits that slot.
BASE_URL=https://api.pzero.studio/v1
API_KEY=<Bearer key for that host>
YAML model node: provider: openai, base_url: ${BASE_URL}, name: a live catalog id, example deepseek-v4-flash.
Do not set provider: gemini. Do not copy the README Gemini example (https://generativelanguage.googleapis.com with no /v1). This host needs the /v1 root. The OpenAI default https://api.openai.com/v1 plus sk-… will not list catalog ids on this host.
Not asking for a first-party provider enum. openai plus a custom BASE_URL is enough.
- 主要语言
- Python
- 星标
- 34.5k
- 派生
- 4.3k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenBMB/ChatDev 的其他 Issue
-
CodeReviewModification never shows the programmer the six review regulations, so fixes are made blind to the checklist they are re-reviewed against可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1-3 小时 新手友好度 78/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
FunctionManager silently drops tool modules containing dataclasses with postponed annotations可能已有人在做 @inchang-ing 于 11 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 72/100
-
难度 3/5 1-2 天 新手友好度 52/100
相似的 Issue
-
dependencies feature github_actions good first issue
难度 2/5 1-3 小时 新手友好度 62/100
wemake-services/wemake-django-template#3149 ·
维护者通常 1 天内回复
-
upstream update
难度 2/5 1-3 小时 新手友好度 65/100
conan-io/conan-center-index#31142 ·
维护者通常 1 天内回复
-
area:core bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
request-theme
难度 2/5 1 小时以内 新手友好度 70/100
LizardByte/ThemerrDB#8877 · 1 条评论 ·
维护者通常 1 天内回复
-
area/install-update comp/gateway P0 sweeper:risk-compatibility type/bug
难度 2/5 1 小时以内 新手友好度 72/100
NousResearch/hermes-agent#135997 · 3 条评论 ·
维护者通常 1 天内回复