Skip to content

OpenAI-compat host: origin only (trailing /v1 stripped; chat path 404s) #1190

Description

@cursor

Working config (OpenAI vendor, origin host)

big-AGI already speaks OpenAI-compat through the OpenAI vendor. A Chat Completions host whose public catalog is GET https://api.pzero.studio/v1/models (no key) fits that slot.

Models → add an OpenAI service (not the DeepSeek / Groq / Azure vendor rows). Advanced → API Host:

  • API Host: https://api.pzero.studio (origin only)
  • API Key: a Bearer key for that host
  • Model: a live catalog id, example deepseek-v4-flash

The UI strips a trailing /v1, then the server appends OPENAI_API_PATHS (/v1/models, /v1/chat/completions). Pasting /v1 is therefore harmless. Pasting /v1/chat/completions is not: strip only removes a trailing /v1, so the request becomes /v1/chat/completions/v1/chat/completions and 404s.

Do not enable image / audio / moderation paths on this host. Chat only.

Not asking for a first-party dialect or autocomplete row. The OpenAI vendor plus a custom host is enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions