mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 03:56:55 +03:00
fix(console): proxy migrated model discovery to v1 endpoint (#47065)
This commit is contained in:
committed by
GitHub
Unverified
parent
79d503150c
commit
d2efd81fb3
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user