Skip to content

opencode-go (Console Go) provider returns 400/401/500 for subscribed models #37056

Closed as not planned

Description

@123456789cm

Description

问题现象

订阅 opencode-go 计划后,通过代理 (go-proxy → opencode.ai/zen/go/v1)
访问模型时频繁报错。

错误类型及频率

  1. 400 "Error from provider (Console Go): Upstream request failed"
    → 出现最频繁,deepseek-v4-pro 大请求(300KB+ body)几乎必现

  2. 401 "Missing API key"
    → 同一个 API Key 间歇性被拒,有时能通过有时不行

  3. 500 "Internal server error"
    → opencode.ai 服务器内部错误

  4. 503 "Inference is temporarily unavailable"
    → 服务暂时不可用

  5. ERR read ECONNRESET
    → 连接被重置

环境信息

  • opencode 桌面端
  • 通过 go-proxy.js (port 8767) 转发到 opencode.ai/zen/go/v1
  • API Key: sk-E3wz*** (openCode-go)

Plugins

oh-my-openagent@latest

OpenCode version

1.18.1

Steps to reproduce

  1. 订阅 opencode-go 计划
  2. 在 opencode 桌面端通过 opencode-go provider 调用模型(如 glm-5.2、minimax-m3)
  3. 大上下文对话时触发 400/401/500 错误
  4. 查看 go-proxy-log.txt 确认上游返回错误

Screenshot and/or share link

https://opncd.ai/share/76pqFyjq

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. github-actions commented on Jul 15, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is specifically about the 401 "Missing API key" intermittent rejections or the large-body (300KB+) 400 errors, it may be worth adding that detail to one of the existing reports rather than filing separately.

  2. kaka-ruto commented on Jul 16, 2026

    @kaka-ruto

    Having the same issue

  3. ctml91 commented on Jul 21, 2026

    @ctml91

    Any solution for this? Or workaround

  4. 123456789cm commented on Jul 21, 2026

    @123456789cm
    Author
  5. onelpawarai commented on Jul 21, 2026

    @onelpawarai
  6. kaka-ruto commented on Jul 21, 2026

    @kaka-ruto
  7. panmichalakos-unity commented on Jul 28, 2026

    @panmichalakos-unity

    Same failure here, reproduced from a Letta Code 0.28.17 client on Windows 11, routed through the opencode-go / Console Go provider. Two separate request paths hit it:

    1. Inline parent model: openai Chat Completions API stream failed (400): Error from provider (Console Go): Upstream request failed (run run-72d04346-1209-40b2-b32f-e4b10fa70bec).
    2. Background subagent call — classified llm_bad_request / invalid_request_error, retryable: false (subagent subagent-1785271150477-6, task task_6).

    The Letta server constructs the request payload server-side, so I don't have the exact sampling-parameter values from the failing call. I checked local config (%USERPROFILE%.letta*.json, including the bundled model catalog) and recent *.log files — none of them contain the request body, so I can't confirm whether top_p=0, temperature=0, reasoning_effort, or thinking is the trigger. Reporting those as the cause from my side would be speculation.

    What I can say is that the failure is reproducible from a third-party client (Letta Code) talking to Console Go, and the error is surfaced verbatim — so the 400 is being returned by Console Go / opencode.ai, not invented by the client. This corroborates the umbrella pattern in #37056 and overlaps with the parameter-related report in #37231 (where the underlying Invalid top_p value, the valid range of top_p is (0, 1.0] message was exposed and setting top_p/temperature to null restored functionality).

    Environment: Letta Code 0.28.17, Windows 11, parent model chatgpt-plus-pro/gpt-5.6-terra with reasoning_effort=medium, max_output_tokens=128000, context window 350000.

    Happy to enable debug-level provider logging on the Letta side if that helps isolate the parameter set that Console Go is rejecting.

    +1 to keeping #37056 as the umbrella for this family rather than opening a new report.

  8. github-actions commented on Sep 27, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions