-
Notifications
You must be signed in to change notification settings - Fork 45
chatgpt Error: AI_APICallError: Invalid URL (POST /v1/responses) #661
Description
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