Skip to content

GPT 5.5 Custom Provider Configuration fails to automatically locate /v1/responses endpoint #29325

Closed

Description

@blankprojects

Description

"provider": {
"gpt_5_5": {
"name": "gpt_5_5",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "$BASE_URL/v1"
},
"models": {
"gpt-5.5": {
"name": "gpt-5.5"
}
}
}
}

This configuration is showing an error:
Invalid param: Function tools with reasoning_effort are not supported for gpt-5.5 in /v1/chat/completions. Please use /v1/responses instead.

I cannot find how to configure the modified endpoint. Please add a configurable endpoint.

Plugins

No response

OpenCode version

1.15.10

Steps to reproduce

  1. Configure a custom GPT 5.5 provider
  2. Select GPT 5.5 and say hello
  3. Reproduce the error

Screenshot and/or share link

No response

Operating System

MacBook Pro, Apple M4, macOS Tahoe 26.5

Terminal

No response

Activity

  1. github-actions commented on May 26, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. blankprojects commented on May 26, 2026

    @blankprojects
    Author

    After much trial and error with the large model, I discovered that changing "npm": "@ai-sdk/openai-compatible" to "npm": "@ai-sdk/openai" is effective.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions