mirror of
https://github.com/jasonxu114514/opencode2api.git
synced 2026-12-05 08:02:53 +00:00
fix(models): update Zen and Go docs URLs after upstream move (#198)
The docs moved to services/site/src/docs/content/console; the old packages/web paths now return 404, breaking protocol-doc discovery. Co-authored-by: AKS LOGIC <developer@akslogic.com>
This commit is contained in:
1 parent
fc7744a509
commit
2e938ef0e3
1 file changed
+2
-2
@@ -22,8 +22,8 @@ import (
|
||||
// FetchProtocolDocs.
|
||||
const (
|
||||
CapabilitiesURL = "https://models.opencode.ai/api.json"
|
||||
ZenDocsURL = "https://raw.githubusercontent.com/anomalyco/opencode/dev/packages/web/src/content/docs/zen.mdx"
|
||||
GoDocsURL = "https://raw.githubusercontent.com/anomalyco/opencode/dev/packages/web/src/content/docs/go.mdx"
|
||||
ZenDocsURL = "https://raw.githubusercontent.com/anomalyco/opencode/dev/services/site/src/docs/content/console/models.mdx"
|
||||
GoDocsURL = "https://raw.githubusercontent.com/anomalyco/opencode/dev/services/site/src/docs/content/console/go.mdx"
|
||||
// V1Base is the v1 lane's origin: the /zen console (serving /zen/v1/*) that
|
||||
// expects the OpenCode 1.x request shape. It is the default keyed Zen
|
||||
// upstream and the anonymous lane's fallback after the v2 /inference
|
||||
|
||||
Reference in new issue
Block a user