-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Problem
A few observations when trying to use AI Bridge with opencode
gpt-5-codexfirst screenshot needsv1/responses(May get fixed by Implement the OpenAI/v1/responses#16)gpt-5andgpt-4o2nd screenshot. Unsupported parameter"max_tokens". Use"max_completion_tokens"instead.gpt-4.1works smoothly
Now I think this could be the same issue with the Cursor not working with GPT-5 and only working with GPT-4.1 #32
GPT-5 Codex
GPT-5 and GPT-4o
How to Reproduce
opencode auth login--> Choose Other --> Name itaibridge-openai--> Paste Coder Token- Then create a file
opencode.jsonwith the following content{ "$schema": "https://opencode.ai/config.json", "provider": { "aibridge-openai": { "npm": "@ai-sdk/openai-compatible", "name": "AI Bridge", "options": { "baseURL": "https://dev.coder.com/api/experimental/aibridge/openai/v1" }, "models": { "gpt-5": { "name": "GPT-5" }, "gpt-5-codex": { "name": "GPT-5 Codex" }, "gpt-4.1": { "name": "GPT-4.1" }, "gpt-4o": { "name": "GPT 4o" } } } } }
Metadata
Metadata
Assignees
Labels
No labels