Skip to content

V2: add compatible base providers for completions messages and responses #34999

Description

@rekram1-node

Context

We want Completions-compatible, Messages-compatible, and Responses-compatible as reusable base provider families. Named providers should compose these bases with endpoint/auth/defaults/options/model quirks rather than cloning protocol logic.

Scope

  • Clarify or introduce base entrypoints for Completions-compatible, Messages-compatible, and Responses-compatible protocols.
  • Define how named providers register endpoint/auth/defaults/options/model-specific quirks.
  • Keep provider-specific behavior out of generic protocol code unless it is genuinely protocol-wide.

Acceptance Criteria

  • There is a clear base for /chat/completions compatible providers.
  • There is a planned or implemented base for /responses compatible providers.
  • There is a planned or implemented base for Anthropic Messages-compatible providers.
  • Named providers compose bases instead of duplicating protocol implementations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

2.0coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions