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:
Prateek MittalandAKS LOGIC authored and GitHub committed 2026-12-04 10:12:34 +08:00
1 parent fc7744a509
commit 2e938ef0e3
1 file changed
+2 -2
+2 -2
View File
@@ -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