Skip to content

chatgpt Error: AI_APICallError: Invalid URL (POST /v1/responses) #661

@Michaelxu2022

Description

@Michaelxu2022

Describe the Bug

Description of the Issue

After upgrading ChatGPT Copilot to version 4.10.4, the plugin no longer works with one-api as an Azure OpenAI relay.

Previously, older versions worked correctly with the same configuration.

In the new version, the plugin throws the following error when making API calls:

Error: Error: AI_APICallError: Invalid URL (POST /v1/responses)

Environment

ChatGPT Copilot version: 4.10.4

API relay: one-api

Backend: Azure OpenAI

Endpoint mode: Azure-compatible (worked in previous versions)

Notes

The error indicates that the plugin is attempting to call POST /v1/responses

Azure OpenAI (and one-api in Azure mode) does not support the /v1/responses endpoint

Older plugin versions were using /v1/chat/completions, which worked correctly

Expected Behavior
The plugin should either:

Continue using /v1/chat/completions for Azure OpenAI, or

Detect Azure / one-api Azure mode and avoid calling /v1/responses

Actual Behavior
The plugin always calls /v1/responses, causing an “Invalid URL” error.

Please tell us if you have customized any of the extension settings or whether you are using the defaults.

use gpt-4o

and one-api proxy

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions