fix(console): proxy migrated model discovery to v1 endpoint (#47065)

This commit is contained in:
Victor Navarro 2026-09-03 17:04:58 +02:00 committed by GitHub
parent 79d503150c
commit d2efd81fb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@ import { KeyTable } from "@opencode-ai/console-core/schema/key.sql.js"
import { WorkspaceTable } from "@opencode-ai/console-core/schema/workspace.sql.js"
const paths: Record<string, string | undefined> = {
"GET /zen/v1/models": "/openai/v1/models",
"GET /zen/v1/models": "/v1/models",
"POST /zen/v1/chat/completions": "/openai/v1/chat/completions",
"POST /zen/v1/responses": "/openai/v1/responses",
"POST /zen/v1/messages": "/anthropic/v1/messages",