fix(console): proxy migrated model discovery to v1 endpoint (#47065)
This commit is contained in:
parent
79d503150c
commit
d2efd81fb3
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue