Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

OpenAI-compat BASE_URL /v1 with provider openai, not the Gemini origin example

未关闭 适合新手
#666 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
76/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
yaml
领域
documentation

调研方向

首先定位 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 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenBMB/ChatDev 的其他 Issue

查看 OpenBMB/ChatDev 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。