Skip to content

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

Description

@cursor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions