From 2e938ef0e3d030ceee7036a4cec8ee44d859d959 Mon Sep 17 00:00:00 2001 From: Prateek Mittal Date: Fri, 4 Dec 2026 07:42:34 +0530 Subject: [PATCH] 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 --- internal/models/discovery.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/models/discovery.go b/internal/models/discovery.go index d5b43cd..790a34d 100644 --- a/internal/models/discovery.go +++ b/internal/models/discovery.go @@ -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