Skip to content

Support the Responses API for OpenAI API compatible #8157

@letanloc1998

Description

@letanloc1998

Before submitting your bug report

Relevant environment info

Description

Hi,

I cannot using Cloudflare models because of responses endpoint (/v1/responses)

From Open AI documentation

https://platform.openai.com/docs/guides/migrate-to-responses

Migrate to the Responses API

The Responses API is our new API primitive, an evolution of Chat Completions which brings added simplicity and powerful agentic primitives to your integrations.

While Chat Completions remains supported, Responses is recommended for all new projects.

Image

Config

Currently, new models from Cloudflare only support response API (Eg: https://developers.cloudflare.com/workers-ai/models/gpt-oss-120b/)

How to config to use the responses endpoint?

I only found the document to use chat/completions instead of completions
https://docs.continue.dev/customize/model-providers/top-level/openai#how-to-force-legacy-completions-endpoint-usage

To reproduce

No response

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:integrationIntegrations (context providers, model providers, etc.)kind:bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions