配置后报错 #9129

Open
opened 2026-02-16 18:11:42 -05:00 by yindo · 4 comments
Owner

Originally created by @18604307473 on GitHub (Feb 11, 2026).

Originally assigned to: @rekram1-node on GitHub.

Question

为什么我装完oh-my-opencode插件后,就一直报错invalid api key,使用任何模型都是报这个错,我清理掉插件,并清理opencode和oh-my-opencode插件、清理环境变量,然后重新装了opencode,并且不再安装oh-my-opencode,但是仍然报错

Originally created by @18604307473 on GitHub (Feb 11, 2026). Originally assigned to: @rekram1-node on GitHub. ### Question 为什么我装完oh-my-opencode插件后,就一直报错invalid api key,使用任何模型都是报这个错,我清理掉插件,并清理opencode和oh-my-opencode插件、清理环境变量,然后重新装了opencode,并且不再安装oh-my-opencode,但是仍然报错
Author
Owner

@github-actions[bot] commented on GitHub (Feb 11, 2026):

This issue might be a duplicate or related to existing issues. Please check:

  • #8665: Improve invalid/missing api key response (feature request about better error handling for API key issues)
  • #10999: Console Error After Entering API Key on WSL (similar API key configuration issue)

To help us better assist you, could you also provide:

  • OpenCode version
  • Operating System
  • Terminal type
  • Steps to reproduce the error

This will help us determine if this is a known issue or a new configuration problem.

@github-actions[bot] commented on GitHub (Feb 11, 2026): This issue might be a duplicate or related to existing issues. Please check: - #8665: Improve invalid/missing api key response (feature request about better error handling for API key issues) - #10999: Console Error After Entering API Key on WSL (similar API key configuration issue) To help us better assist you, could you also provide: - OpenCode version - Operating System - Terminal type - Steps to reproduce the error This will help us determine if this is a known issue or a new configuration problem.
Author
Owner

@18604307473 commented on GitHub (Feb 11, 2026):

version : 1.1.59
System: Apple M1 Pro(Sonoma 14.8.3)
Terminal type: Apple Ghostty/ Apple Terminal
Steps to reproduce the error: After installing oh-my-opencode and configuring my Google account information, this issue occurred, showing an “invalid API key” error.

@18604307473 commented on GitHub (Feb 11, 2026): version : 1.1.59 System: Apple M1 Pro(Sonoma 14.8.3) Terminal type: Apple Ghostty/ Apple Terminal Steps to reproduce the error: After installing **oh-my-opencode** and configuring my Google account information, this issue occurred, showing an **“invalid API key”** error.
Author
Owner

@18604307473 commented on GitHub (Feb 12, 2026):

who can help me

@18604307473 commented on GitHub (Feb 12, 2026): who can help me
Author
Owner

@LeoNardo-LB commented on GitHub (Feb 13, 2026):

应该在 oh-my-opencode 中单独配置每一个主agent的模型吧

@LeoNardo-LB commented on GitHub (Feb 13, 2026): 应该在 oh-my-opencode 中单独配置每一个主agent的模型吧
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9129