zen: new inference

This commit is contained in:
Frank
2026-07-01 17:54:20 -04:00
parent fc29f99190
commit 3df5556223

View File

@@ -242,7 +242,7 @@ export async function handler(
signal: input.request.signal,
})
if (providerInfo.id.startsWith("console.")) {
if (providerInfo.id.startsWith("console.") || providerInfo.id.startsWith("console-go.")) {
const resEndpointId = res.headers.get("x-opencode-endpoint-id")
const resEndpointModelId = res.headers.get("x-opencode-upstream-model-id")
if (resEndpointId && resEndpointModelId)