Console Error After Entering API Key on WSL #7845

Open
opened 2026-02-16 18:08:27 -05:00 by yindo · 1 comment
Owner

Originally created by @BV003 on GitHub (Jan 28, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

After entering my API key, an error occurs in the console. The environment is WSL.

Plugins

None

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Windows11, WSL

Terminal

Windows11, WSL Terminal

Originally created by @BV003 on GitHub (Jan 28, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description After entering my API key, an error occurs in the console. The environment is WSL. ### Plugins None ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="1542" height="653" alt="Image" src="https://github.com/user-attachments/assets/1bf5b527-87f3-4426-baee-b9c999cd1681" /> ### Operating System Windows11, WSL ### Terminal Windows11, WSL Terminal
yindo added the windowsbug labels 2026-02-16 18:08:27 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 28, 2026):

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

  • #10926: Error appears after connecting provider and entering API key (similar pattern on macOS)
  • #10945: Windows console error with ANSI escape codes flooding (Windows console issue)
  • #9922: Cannot paste API key after /connect on Windows/WSL (API key input issue on Windows/WSL)
  • #9999: Clipboard functionality fails in WSL environment (WSL-specific)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 28, 2026): This issue might be a duplicate of existing issues. Please check: - #10926: Error appears after connecting provider and entering API key (similar pattern on macOS) - #10945: Windows console error with ANSI escape codes flooding (Windows console issue) - #9922: Cannot paste API key after /connect on Windows/WSL (API key input issue on Windows/WSL) - #9999: Clipboard functionality fails in WSL environment (WSL-specific) Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7845