Program is stuck on initialization #2037

Closed
opened 2026-02-16 17:33:52 -05:00 by yindo · 15 comments
Owner

Originally created by @MilhoNerfado on GitHub (Oct 10, 2025).

Originally assigned to: @rekram1-node on GitHub.

Overview

The program wont properly start or give any errors, stuck in a infinite loop.

#2476 seems to be the same problem, however i couldn't figure out what "v 62" is:

I uninstalled and installed v 62, then it automatically upgraded and it works now on the latest version. So it's no longer an issue for me

Originally posted by @marn-in-prod in #2476

Installation method i used ( also tried with paru and npm in other tests but with same behavior ):

$ curl -fsSL https://opencode.ai/install | bash                                                                                                                                                         
Downloading opencode version: 0.14.7 ...
######################################################################## 100.0%

When running opencode by itself it hangs on the last line:

$ opencode --print-logs --log-level DEBUG                                                                                                                                                               
INFO  2025-10-10T18:36:34 +75ms service=default version=0.14.7 args=["--print-logs","--log-level","DEBUG"] opencode
INFO  2025-10-10T18:36:34 +1ms service=project directory=/home/milho fromDirectory
INFO  2025-10-10T18:36:34 +6ms service=config path=/home/milho/.config/opencode/config.json loading
INFO  2025-10-10T18:36:34 +0ms service=config path=/home/milho/.config/opencode/opencode.json loading
INFO  2025-10-10T18:36:34 +0ms service=config path=/home/milho/.config/opencode/opencode.jsonc loading
INFO  2025-10-10T18:36:34 +2ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin
INFO  2025-10-10T18:36:34 +0ms service=bun pkg=opencode-copilot-auth version=0.0.3 installing package using Bun's default registry resolution
INFO  2025-10-10T18:36:34 +0ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-copilot-auth@0.0.3"] cwd=/home/milho/.cache/opencode running
^C⏎

When trying to auth :

$ opencode --print-logs --log-level DEBUG auth login                                                                                                                                                    
INFO  2025-10-10T18:44:55 +82ms service=default version=0.14.7 args=["--print-logs","--log-level","DEBUG","auth","login"] opencode
INFO  2025-10-10T18:44:55 +0ms service=project directory=/home/milho fromDirectory

┌  Add credential
INFO  2025-10-10T18:44:55 +3ms service=models.dev file={} refreshing
INFO  2025-10-10T18:44:55 +168ms service=models.dev file={} refreshing
│
◇  Select provider
│  OpenCode Zen
INFO  2025-10-10T18:44:57 +1737ms service=config path=/home/milho/.config/opencode/config.json loading
INFO  2025-10-10T18:44:57 +0ms service=config path=/home/milho/.config/opencode/opencode.json loading
INFO  2025-10-10T18:44:57 +0ms service=config path=/home/milho/.config/opencode/opencode.jsonc loading
INFO  2025-10-10T18:44:57 +2ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin
INFO  2025-10-10T18:44:57 +0ms service=bun pkg=opencode-copilot-auth version=0.0.3 installing package using Bun's default registry resolution
INFO  2025-10-10T18:44:57 +1ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-copilot-auth@0.0.3"] cwd=/home/milho/.cache/opencode running
^C⏎                                                                                                                                                                                                                

Upgrading leads to no errors:

$ opencode --print-logs --log-level DEBUG upgrade                                                                                                                                                       
INFO  2025-10-10T18:36:39 +82ms service=default version=0.14.7 args=["--print-logs","--log-level","DEBUG","upgrade"] opencode

  █▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀
  █░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀
  ▀▀▀▀ █▀▀▀ ▀▀▀ ▀  ▀ ▀▀▀ ▀▀▀▀ ▀▀▀  ▀▀▀

┌  Upgrade
│
●  Using method: curl
│
▲  opencode upgrade skipped: 0.14.7 is already installed
│
└  Done

$ cd ~/.cache/opencode/ && BUN_BE_BUN=1 opencode pm ls                                                                                                                                                  
error: Lockfile not found

My device information:

  • OS: CachyOS x86_64
  • Kernel: Linux 6.17.1-2-cachyos
  • Shell: fish 4.1.1 (also tried with bash)
  • Terminal: WezTerm 20250909-070512-bf9a2aee (also tried with kitty)
Originally created by @MilhoNerfado on GitHub (Oct 10, 2025). Originally assigned to: @rekram1-node on GitHub. ## Overview The program wont properly start or give any errors, stuck in a infinite loop. #2476 seems to be the same problem, however i couldn't figure out what "v 62" is: > I uninstalled and installed v 62, then it automatically upgraded and it works now on the latest version. So it's no longer an issue for me _Originally posted by @marn-in-prod in [#2476](https://github.com/sst/opencode/issues/2476#issuecomment-3263923540)_ Installation method i used ( also tried with paru and npm in other tests but with same behavior ): ```sh $ curl -fsSL https://opencode.ai/install | bash Downloading opencode version: 0.14.7 ... ######################################################################## 100.0% ``` When running opencode by itself it hangs on the last line: ```sh $ opencode --print-logs --log-level DEBUG INFO 2025-10-10T18:36:34 +75ms service=default version=0.14.7 args=["--print-logs","--log-level","DEBUG"] opencode INFO 2025-10-10T18:36:34 +1ms service=project directory=/home/milho fromDirectory INFO 2025-10-10T18:36:34 +6ms service=config path=/home/milho/.config/opencode/config.json loading INFO 2025-10-10T18:36:34 +0ms service=config path=/home/milho/.config/opencode/opencode.json loading INFO 2025-10-10T18:36:34 +0ms service=config path=/home/milho/.config/opencode/opencode.jsonc loading INFO 2025-10-10T18:36:34 +2ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin INFO 2025-10-10T18:36:34 +0ms service=bun pkg=opencode-copilot-auth version=0.0.3 installing package using Bun's default registry resolution INFO 2025-10-10T18:36:34 +0ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-copilot-auth@0.0.3"] cwd=/home/milho/.cache/opencode running ^C⏎ ``` When trying to auth : ```sh $ opencode --print-logs --log-level DEBUG auth login INFO 2025-10-10T18:44:55 +82ms service=default version=0.14.7 args=["--print-logs","--log-level","DEBUG","auth","login"] opencode INFO 2025-10-10T18:44:55 +0ms service=project directory=/home/milho fromDirectory ┌ Add credential INFO 2025-10-10T18:44:55 +3ms service=models.dev file={} refreshing INFO 2025-10-10T18:44:55 +168ms service=models.dev file={} refreshing │ ◇ Select provider │ OpenCode Zen INFO 2025-10-10T18:44:57 +1737ms service=config path=/home/milho/.config/opencode/config.json loading INFO 2025-10-10T18:44:57 +0ms service=config path=/home/milho/.config/opencode/opencode.json loading INFO 2025-10-10T18:44:57 +0ms service=config path=/home/milho/.config/opencode/opencode.jsonc loading INFO 2025-10-10T18:44:57 +2ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin INFO 2025-10-10T18:44:57 +0ms service=bun pkg=opencode-copilot-auth version=0.0.3 installing package using Bun's default registry resolution INFO 2025-10-10T18:44:57 +1ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-copilot-auth@0.0.3"] cwd=/home/milho/.cache/opencode running ^C⏎ ``` Upgrading leads to no errors: ```sh $ opencode --print-logs --log-level DEBUG upgrade INFO 2025-10-10T18:36:39 +82ms service=default version=0.14.7 args=["--print-logs","--log-level","DEBUG","upgrade"] opencode █▀▀█ █▀▀█ █▀▀ █▀▀▄ █▀▀ █▀▀█ █▀▀▄ █▀▀ █░░█ █░░█ █▀▀ █░░█ █░░ █░░█ █░░█ █▀▀ ▀▀▀▀ █▀▀▀ ▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀ ┌ Upgrade │ ● Using method: curl │ ▲ opencode upgrade skipped: 0.14.7 is already installed │ └ Done ``` ``` $ cd ~/.cache/opencode/ && BUN_BE_BUN=1 opencode pm ls error: Lockfile not found ``` My device information: - OS: CachyOS x86_64 - Kernel: Linux 6.17.1-2-cachyos - Shell: fish 4.1.1 (also tried with bash) - Terminal: WezTerm 20250909-070512-bf9a2aee (also tried with kitty)
yindo closed this issue 2026-02-16 17:33:52 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 10, 2025):

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

  • #2476: Very similar hanging issue during plugin loading with identical log pattern stopping at "installing package using Bun's default registry resolution"
  • #1611: CLI hangs during auth login process, similar to your auth login hanging issue
  • #2341: opencode-copilot-auth plugin loading errors and installation issues
  • #2819: TUI stuck forever with similar plugin loading sequence

All these issues show the same pattern of hanging during the opencode-copilot-auth plugin installation step. The logs in #2476 are nearly identical to yours.

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

@github-actions[bot] commented on GitHub (Oct 10, 2025): This issue might be a duplicate of existing issues. Please check: - #2476: Very similar hanging issue during plugin loading with identical log pattern stopping at "installing package using Bun's default registry resolution" - #1611: CLI hangs during auth login process, similar to your auth login hanging issue - #2341: opencode-copilot-auth plugin loading errors and installation issues - #2819: TUI stuck forever with similar plugin loading sequence All these issues show the same pattern of hanging during the opencode-copilot-auth plugin installation step. The logs in #2476 are nearly identical to yours. Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 10, 2025):

I think v62 meant v0.6.2

@rekram1-node commented on GitHub (Oct 10, 2025): I think v62 meant v0.6.2
Author
Owner

@rekram1-node commented on GitHub (Oct 10, 2025):

@MilhoNerfado what kinda internet do you have (as in could this be a connectivity / speed issue?) I bet it is just taking time getting the packages from npm probably or grabbing models from models.dev...

Can you run:

opencode auth list # if there are no results disregard remaining instructions and attempt to get your auth fixed, maybe with a fresh login 

opencode models

ls ~/.cache/opencode
@rekram1-node commented on GitHub (Oct 10, 2025): @MilhoNerfado what kinda internet do you have (as in could this be a connectivity / speed issue?) I bet it is just taking time getting the packages from npm probably or grabbing models from models.dev... Can you run: ``` opencode auth list # if there are no results disregard remaining instructions and attempt to get your auth fixed, maybe with a fresh login opencode models ls ~/.cache/opencode ```
Author
Owner

@MilhoNerfado commented on GitHub (Oct 10, 2025):

Thank you @rekram1-node. Indeed looks to be a download problem, I left it running for longer in the background and 1 package was installed:

opencode --print-logs --log-level DEBUG                                                                                                                                     16:03:35
INFO  2025-10-10T19:03:38 +76ms service=default version=0.14.7 args=["--print-logs","--log-level","DEBUG"] opencode
INFO  2025-10-10T19:03:38 +1ms service=project directory=/home/milho/Shared/weg/firmware/app-m7 fromDirectory
INFO  2025-10-10T19:03:38 +10ms service=config path=/home/milho/.config/opencode/config.json loading
INFO  2025-10-10T19:03:38 +0ms service=config path=/home/milho/.config/opencode/opencode.json loading
INFO  2025-10-10T19:03:38 +0ms service=config path=/home/milho/.config/opencode/opencode.jsonc loading
INFO  2025-10-10T19:03:38 +1ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin
INFO  2025-10-10T19:03:38 +1ms service=bun pkg=opencode-copilot-auth version=0.0.3 installing package using Bun's default registry resolution
INFO  2025-10-10T19:03:38 +0ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-copilot-auth@0.0.3"] cwd=/home/milho/.cache/opencodINFO  2025-10-10T19:14:55 +676881ms service=bun code=0 stdout=bun add v1.2.21 (7c45ed97)

installed opencode-copilot-auth@0.0.3

1 package installed [676.88s]
 stderr=Resolving dependencies
Resolved, downloaded and extracted [4]
Saved lockfile
 done
INFO  2025-10-10T19:14:55 +4ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
INFO  2025-10-10T19:14:55 +0ms service=bun pkg=opencode-anthropic-auth version=0.0.2 installing package using Bun's default registry resolution
INFO  2025-10-10T19:14:55 +0ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-anthropic-auth@0.0.2"] cwd=/home/milho/.cache/opencode running

It might be taking quite a while to download and since there was no notification or signs it was still alive it left me worried, as my job's internet speed is quite good for my region (Brazil) I didn't expect it to be a download. I will try to install opencode in my home PC after work, maybe it's a ISP/route problem.

@MilhoNerfado commented on GitHub (Oct 10, 2025): Thank you @rekram1-node. Indeed looks to be a download problem, I left it running for longer in the background and 1 package was installed: ```sh opencode --print-logs --log-level DEBUG 16:03:35 INFO 2025-10-10T19:03:38 +76ms service=default version=0.14.7 args=["--print-logs","--log-level","DEBUG"] opencode INFO 2025-10-10T19:03:38 +1ms service=project directory=/home/milho/Shared/weg/firmware/app-m7 fromDirectory INFO 2025-10-10T19:03:38 +10ms service=config path=/home/milho/.config/opencode/config.json loading INFO 2025-10-10T19:03:38 +0ms service=config path=/home/milho/.config/opencode/opencode.json loading INFO 2025-10-10T19:03:38 +0ms service=config path=/home/milho/.config/opencode/opencode.jsonc loading INFO 2025-10-10T19:03:38 +1ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin INFO 2025-10-10T19:03:38 +1ms service=bun pkg=opencode-copilot-auth version=0.0.3 installing package using Bun's default registry resolution INFO 2025-10-10T19:03:38 +0ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-copilot-auth@0.0.3"] cwd=/home/milho/.cache/opencodINFO 2025-10-10T19:14:55 +676881ms service=bun code=0 stdout=bun add v1.2.21 (7c45ed97) installed opencode-copilot-auth@0.0.3 1 package installed [676.88s] stderr=Resolving dependencies Resolved, downloaded and extracted [4] Saved lockfile done INFO 2025-10-10T19:14:55 +4ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin INFO 2025-10-10T19:14:55 +0ms service=bun pkg=opencode-anthropic-auth version=0.0.2 installing package using Bun's default registry resolution INFO 2025-10-10T19:14:55 +0ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-anthropic-auth@0.0.2"] cwd=/home/milho/.cache/opencode running ``` It might be taking quite a while to download and since there was no notification or signs it was still alive it left me worried, as my job's internet speed is quite good for my region (Brazil) I didn't expect it to be a download. I will try to install opencode in my home PC after work, maybe it's a ISP/route problem.
Author
Owner

@rekram1-node commented on GitHub (Oct 10, 2025):

Gotcha

since there was no notification or signs it was still alive

yeah we should work on this, maybe worth addressing once we finish migration that is a wip

@rekram1-node commented on GitHub (Oct 10, 2025): Gotcha > since there was no notification or signs it was still alive yeah we should work on this, maybe worth addressing once we finish migration that is a wip
Author
Owner

@rekram1-node commented on GitHub (Oct 10, 2025):

I will try to install opencode in my home PC after work, maybe it's a ISP/route problem.

Lmk how it goes, unfortunately you may have to leave it running for a little bit if there are any network speed probs

@rekram1-node commented on GitHub (Oct 10, 2025): > I will try to install opencode in my home PC after work, maybe it's a ISP/route problem. Lmk how it goes, unfortunately you may have to leave it running for a little bit if there are any network speed probs
Author
Owner

@MilhoNerfado commented on GitHub (Oct 10, 2025):

As for the opencode auth list:

$ opencode auth list 

┌  Credentials ~/.local/share/opencode/auth.json
│
└  0 credentials

┌  Environment
│
●  GitHub Copilot GITHUB_TOKEN
│
●  GitHub Models GITHUB_TOKEN
│
└  2 environment variables

And ~/.cache/opencode:

$ ls ~/.cache/opencode
node_modules
bun.lock
models.json
package.json
version
@MilhoNerfado commented on GitHub (Oct 10, 2025): As for the `opencode auth list`: ``` $ opencode auth list ┌ Credentials ~/.local/share/opencode/auth.json │ └ 0 credentials ┌ Environment │ ● GitHub Copilot GITHUB_TOKEN │ ● GitHub Models GITHUB_TOKEN │ └ 2 environment variables ``` And `~/.cache/opencode`: ``` $ ls ~/.cache/opencode node_modules bun.lock models.json package.json version ```
Author
Owner

@MilhoNerfado commented on GitHub (Oct 10, 2025):

Just a heads up @rekram1-node.

After about 40 minutes it finished downloading here is the logging, much appreciate your help:

$ opencode --print-logs --log-level DEBUG
INFO  2025-10-10T19:03:38 +76ms service=default version=0.14.7 args=["--print-logs","--log-level","DEBUG"] opencode
INFO  2025-10-10T19:03:38 +1ms service=project directory=/home/milho/Shared/weg/firmware/app-m7 fromDirectory
INFO  2025-10-10T19:03:38 +10ms service=config path=/home/milho/.config/opencode/config.json loading
INFO  2025-10-10T19:03:38 +0ms service=config path=/home/milho/.config/opencode/opencode.json loading
INFO  2025-10-10T19:03:38 +0ms service=config path=/home/milho/.config/opencode/opencode.jsonc loading
INFO  2025-10-10T19:03:38 +1ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin
INFO  2025-10-10T19:03:38 +1ms service=bun pkg=opencode-copilot-auth version=0.0.3 installing package using Bun's default registry resolution
INFO  2025-10-10T19:03:38 +0ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-copilot-auth@0.0.3"] cwd=/home/milho/.cache/opencodINFO  2025-10-10T19:14:55 +676881ms service=bun code=0 stdout=bun add v1.2.21 (7c45ed97)

installed opencode-copilot-auth@0.0.3

1 package installed [676.88s]
 stderr=Resolving dependencies
Resolved, downloaded and extracted [4]
Saved lockfile
 done
INFO  2025-10-10T19:14:55 +4ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
INFO  2025-10-10T19:14:55 +0ms service=bun pkg=opencode-anthropic-auth version=0.0.2 installing package using Bun's default registry resolution
INFO  2025-10-10T19:14:55 +0ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-anthropic-auth@0.0.2"] cwd=/home/milho/.cache/openc^[[15~INFO  2025-10-10T19:48:47 +2031605ms service=bun code=0 stdout=bun add v1.2.21 (7c45ed97)

+ opencode-copilot-auth@0.0.3

installed opencode-anthropic-auth@0.0.2

14 packages installed [2031.60s]
 stderr=Resolving dependencies
Resolved, downloaded and extracted [50]
Saved lockfile
 done
INFO  2025-10-10T19:48:47 +21ms service=bus type=* subscribing
INFO  2025-10-10T19:48:47 +0ms service=bus type=session.updated subscribing
INFO  2025-10-10T19:48:47 +0ms service=bus type=message.updated subscribing
INFO  2025-10-10T19:48:47 +0ms service=bus type=message.part.updated subscribing
INFO  2025-10-10T19:48:47 +0ms service=format init
INFO  2025-10-10T19:48:47 +0ms service=bus type=file.edited subscribing
INFO  2025-10-10T19:48:47 +4ms service=lsp serverIds=typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd, svelte, jdtls enabled LSP servers
INFO  2025-10-10T19:48:47 +1ms service=models.dev file={} refreshing
INFO  2025-10-10T19:48:47 +2ms service=provider init
INFO  2025-10-10T19:48:47 +2ms service=provider providerID=github-copilot found
INFO  2025-10-10T19:48:47 +0ms service=provider providerID=github-models found
INFO  2025-10-10T19:48:47 +0ms service=provider providerID=opencode found
INFO  2025-10-10T19:48:47 +10ms service=default cmd=["/home/milho/.cache/opencode/tui/tui-42nmq6m0."] tui
INFO  2025-10-10T19:48:47 +21ms service=server method=GET path=/agent request
INFO  2025-10-10T19:48:47 +3ms service=server duration=3 response
INFO  2025-10-10T19:48:47 +0ms service=server method=GET path=/project/current request
INFO  2025-10-10T19:48:47 +0ms service=server duration=0 response
INFO  2025-10-10T19:48:47 +0ms service=server method=GET path=/path request
INFO  2025-10-10T19:48:47 +0ms service=server duration=0 response
INFO  2025-10-10T19:48:47 +1ms service=server method=GET path=/config request
INFO  2025-10-10T19:48:47 +1ms service=server duration=0 response
DEBUG 2025-10-10T19:48:47 +1ms service=tui TUI launched
DEBUG 2025-10-10T19:48:47 +0ms service=tui tool=wl-copy Clipboard tool found
DEBUG 2025-10-10T19:48:47 +0ms service=tui file=/home/milho/.local/state/opencode/tui State saved to file
INFO  2025-10-10T19:48:47 +3ms service=server method=GET path=/command request
INFO  2025-10-10T19:48:47 +0ms service=server duration=0 response
DEBUG 2025-10-10T19:48:47 +1ms service=tui config={"$schema":"","agent":{"build":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"general":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"plan":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0}},"autoshare":false,"autoupdate":false,"command":{},"disabled_providers":[],"experimental":{"disable_paste_summary":false,"hook":{"file_edited":{},"session_completed":[]}},"formatter":{},"instructions":[],"keybinds":{"agent_cycle":"","agent_cycle_reverse":"","agent_list":"","app_exit":"","app_help":"","editor_open":"","file_close":"","file_diff_toggle":"","file_list":"","file_search":"","input_clear":"","input_newline":"","input_paste":"","input_submit":"","leader":"ctrl+x","messages_copy":"","messages_first":"","messages_half_page_down":"","messages_half_page_up":"","messages_last":"","messages_layout_toggle":"","messages_next":"","messages_page_down":"","messages_page_up":"","messages_previous":"","messages_redo":"","messages_revert":"","messages_undo":"","model_cycle_recent":"","model_cycle_recent_reverse":"","model_list":"","project_init":"","session_child_cycle":"","session_child_cycle_reverse":"","session_compact":"","session_export":"","session_interrupt":"","session_list":"","session_new":"","session_share":"","session_timeline":"","session_unshare":"","switch_agent":"","switch_agent_reverse":"","switch_mode":"","switch_mode_reverse":"","theme_list":"","thinking_blocks":"","tool_details":""},"layout":"","lsp":{},"mcp":{},"mode":{"build":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"plan":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0}},"model":"","permission":{"edit":"","webfetch":""},"plugin":[],"provider":{},"share":"","small_model":"","snapshot":false,"theme":"","tools":{},"tui":{"scroll_speed":0},"username":"milho","watcher":{"ignore":[]}} Loaded config
INFO  2025-10-10T19:48:47 +0ms service=server method=GET path=/file/status request
INFO  2025-10-10T19:48:47 +1ms service=tui commands={"agent_cycle":{},"agent_cycle_reverse":{},"agent_list":{},"app_exit":{},"app_help":{},"editor_open":{},"input_clear":{},"input_newline":{},"input_paste":{},"input_submit":{},"messages_copy":{},"messages_first":{},"messages_half_page_down":{},"messages_half_page_up":{},"messages_last":{},"messages_page_down":{},"messages_page_up":{},"messages_redo":{},"messages_undo":{},"model_cycle_recent":{},"model_cycle_recent_reverse":{},"model_list":{},"project_init":{},"session_child_cycle":{},"session_child_cycle_reverse":{},"session_compact":{},"session_export":{},"session_interrupt":{},"session_list":{},"session_new":{},"session_share":{},"session_timeline":{},"session_unshare":{},"theme_list":{},"thinking_blocks":{},"tool_details":{}} Loaded commands
                                                                                     INFO  2025-10-10T19:48:47 +0ms service=server method=GET path=/tui/control/next request
                                                                                  INFO  2025-10-10T19:48:47 +0ms service=server method=GET path=/event request
                                                                    INFO  2025-10-10T19:48:47 +0ms service=server event connected
                                       INFO  2025-10-10T19:48:47 +1ms service=bus type=* subscribing
          INFO  2025-10-10T19:48:47 +1ms service=server duration=2 response
                                                                           INFO  2025-10-10T19:48:47 +1ms service=server method=GET path=/config/providers request
                                                                        INFO  2025-10-10T19:48:47 +1ms service=server duration=1 response
                                               DEBUG 2025-10-10T19:48:47 +1ms service=tui model=claude-sonnet-4.5 provider=github-copilot Selected model from fallback (first available)
    DEBUG 2025-10-10T19:48:47 +3ms service=tui timeTakenMs=0 messages.renderView
                                                                                DEBUG 2025-10-10T19:48:47 +7ms service=tui file=/home/milho/.local/state/opencode/tui State saved to file
     INFO  2025-10-10T19:49:01 +1059ms service=bus type=* unsubscribing
INFO  2025-10-10T19:49:01 +0ms service=server event disconnected
@MilhoNerfado commented on GitHub (Oct 10, 2025): Just a heads up @rekram1-node. After about 40 minutes it finished downloading here is the logging, much appreciate your help: ``` $ opencode --print-logs --log-level DEBUG INFO 2025-10-10T19:03:38 +76ms service=default version=0.14.7 args=["--print-logs","--log-level","DEBUG"] opencode INFO 2025-10-10T19:03:38 +1ms service=project directory=/home/milho/Shared/weg/firmware/app-m7 fromDirectory INFO 2025-10-10T19:03:38 +10ms service=config path=/home/milho/.config/opencode/config.json loading INFO 2025-10-10T19:03:38 +0ms service=config path=/home/milho/.config/opencode/opencode.json loading INFO 2025-10-10T19:03:38 +0ms service=config path=/home/milho/.config/opencode/opencode.jsonc loading INFO 2025-10-10T19:03:38 +1ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin INFO 2025-10-10T19:03:38 +1ms service=bun pkg=opencode-copilot-auth version=0.0.3 installing package using Bun's default registry resolution INFO 2025-10-10T19:03:38 +0ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-copilot-auth@0.0.3"] cwd=/home/milho/.cache/opencodINFO 2025-10-10T19:14:55 +676881ms service=bun code=0 stdout=bun add v1.2.21 (7c45ed97) installed opencode-copilot-auth@0.0.3 1 package installed [676.88s] stderr=Resolving dependencies Resolved, downloaded and extracted [4] Saved lockfile done INFO 2025-10-10T19:14:55 +4ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin INFO 2025-10-10T19:14:55 +0ms service=bun pkg=opencode-anthropic-auth version=0.0.2 installing package using Bun's default registry resolution INFO 2025-10-10T19:14:55 +0ms service=bun cmd=["/home/milho/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/milho/.cache/opencode","opencode-anthropic-auth@0.0.2"] cwd=/home/milho/.cache/openc^[[15~INFO 2025-10-10T19:48:47 +2031605ms service=bun code=0 stdout=bun add v1.2.21 (7c45ed97) + opencode-copilot-auth@0.0.3 installed opencode-anthropic-auth@0.0.2 14 packages installed [2031.60s] stderr=Resolving dependencies Resolved, downloaded and extracted [50] Saved lockfile done INFO 2025-10-10T19:48:47 +21ms service=bus type=* subscribing INFO 2025-10-10T19:48:47 +0ms service=bus type=session.updated subscribing INFO 2025-10-10T19:48:47 +0ms service=bus type=message.updated subscribing INFO 2025-10-10T19:48:47 +0ms service=bus type=message.part.updated subscribing INFO 2025-10-10T19:48:47 +0ms service=format init INFO 2025-10-10T19:48:47 +0ms service=bus type=file.edited subscribing INFO 2025-10-10T19:48:47 +4ms service=lsp serverIds=typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd, svelte, jdtls enabled LSP servers INFO 2025-10-10T19:48:47 +1ms service=models.dev file={} refreshing INFO 2025-10-10T19:48:47 +2ms service=provider init INFO 2025-10-10T19:48:47 +2ms service=provider providerID=github-copilot found INFO 2025-10-10T19:48:47 +0ms service=provider providerID=github-models found INFO 2025-10-10T19:48:47 +0ms service=provider providerID=opencode found INFO 2025-10-10T19:48:47 +10ms service=default cmd=["/home/milho/.cache/opencode/tui/tui-42nmq6m0."] tui INFO 2025-10-10T19:48:47 +21ms service=server method=GET path=/agent request INFO 2025-10-10T19:48:47 +3ms service=server duration=3 response INFO 2025-10-10T19:48:47 +0ms service=server method=GET path=/project/current request INFO 2025-10-10T19:48:47 +0ms service=server duration=0 response INFO 2025-10-10T19:48:47 +0ms service=server method=GET path=/path request INFO 2025-10-10T19:48:47 +0ms service=server duration=0 response INFO 2025-10-10T19:48:47 +1ms service=server method=GET path=/config request INFO 2025-10-10T19:48:47 +1ms service=server duration=0 response DEBUG 2025-10-10T19:48:47 +1ms service=tui TUI launched DEBUG 2025-10-10T19:48:47 +0ms service=tui tool=wl-copy Clipboard tool found DEBUG 2025-10-10T19:48:47 +0ms service=tui file=/home/milho/.local/state/opencode/tui State saved to file INFO 2025-10-10T19:48:47 +3ms service=server method=GET path=/command request INFO 2025-10-10T19:48:47 +0ms service=server duration=0 response DEBUG 2025-10-10T19:48:47 +1ms service=tui config={"$schema":"","agent":{"build":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"general":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"plan":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0}},"autoshare":false,"autoupdate":false,"command":{},"disabled_providers":[],"experimental":{"disable_paste_summary":false,"hook":{"file_edited":{},"session_completed":[]}},"formatter":{},"instructions":[],"keybinds":{"agent_cycle":"","agent_cycle_reverse":"","agent_list":"","app_exit":"","app_help":"","editor_open":"","file_close":"","file_diff_toggle":"","file_list":"","file_search":"","input_clear":"","input_newline":"","input_paste":"","input_submit":"","leader":"ctrl+x","messages_copy":"","messages_first":"","messages_half_page_down":"","messages_half_page_up":"","messages_last":"","messages_layout_toggle":"","messages_next":"","messages_page_down":"","messages_page_up":"","messages_previous":"","messages_redo":"","messages_revert":"","messages_undo":"","model_cycle_recent":"","model_cycle_recent_reverse":"","model_list":"","project_init":"","session_child_cycle":"","session_child_cycle_reverse":"","session_compact":"","session_export":"","session_interrupt":"","session_list":"","session_new":"","session_share":"","session_timeline":"","session_unshare":"","switch_agent":"","switch_agent_reverse":"","switch_mode":"","switch_mode_reverse":"","theme_list":"","thinking_blocks":"","tool_details":""},"layout":"","lsp":{},"mcp":{},"mode":{"build":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"plan":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0}},"model":"","permission":{"edit":"","webfetch":""},"plugin":[],"provider":{},"share":"","small_model":"","snapshot":false,"theme":"","tools":{},"tui":{"scroll_speed":0},"username":"milho","watcher":{"ignore":[]}} Loaded config INFO 2025-10-10T19:48:47 +0ms service=server method=GET path=/file/status request INFO 2025-10-10T19:48:47 +1ms service=tui commands={"agent_cycle":{},"agent_cycle_reverse":{},"agent_list":{},"app_exit":{},"app_help":{},"editor_open":{},"input_clear":{},"input_newline":{},"input_paste":{},"input_submit":{},"messages_copy":{},"messages_first":{},"messages_half_page_down":{},"messages_half_page_up":{},"messages_last":{},"messages_page_down":{},"messages_page_up":{},"messages_redo":{},"messages_undo":{},"model_cycle_recent":{},"model_cycle_recent_reverse":{},"model_list":{},"project_init":{},"session_child_cycle":{},"session_child_cycle_reverse":{},"session_compact":{},"session_export":{},"session_interrupt":{},"session_list":{},"session_new":{},"session_share":{},"session_timeline":{},"session_unshare":{},"theme_list":{},"thinking_blocks":{},"tool_details":{}} Loaded commands INFO 2025-10-10T19:48:47 +0ms service=server method=GET path=/tui/control/next request INFO 2025-10-10T19:48:47 +0ms service=server method=GET path=/event request INFO 2025-10-10T19:48:47 +0ms service=server event connected INFO 2025-10-10T19:48:47 +1ms service=bus type=* subscribing INFO 2025-10-10T19:48:47 +1ms service=server duration=2 response INFO 2025-10-10T19:48:47 +1ms service=server method=GET path=/config/providers request INFO 2025-10-10T19:48:47 +1ms service=server duration=1 response DEBUG 2025-10-10T19:48:47 +1ms service=tui model=claude-sonnet-4.5 provider=github-copilot Selected model from fallback (first available) DEBUG 2025-10-10T19:48:47 +3ms service=tui timeTakenMs=0 messages.renderView DEBUG 2025-10-10T19:48:47 +7ms service=tui file=/home/milho/.local/state/opencode/tui State saved to file INFO 2025-10-10T19:49:01 +1059ms service=bus type=* unsubscribing INFO 2025-10-10T19:49:01 +0ms service=server event disconnected ```
Author
Owner

@rekram1-node commented on GitHub (Oct 10, 2025):

40 min wtffff that sucks im sorry

@rekram1-node commented on GitHub (Oct 10, 2025): 40 min wtffff that sucks im sorry
Author
Owner

@rekram1-node commented on GitHub (Oct 12, 2025):

does it run fine now?

@rekram1-node commented on GitHub (Oct 12, 2025): does it run fine now?
Author
Owner

@MilhoNerfado commented on GitHub (Oct 13, 2025):

Sadly i couldn't try it in my home environment.

In my work PC the tool opens but i get no answer from the AI model. just like in the auth problem i previously had, I'll leave it to run for at least an hour to see if it's any connectivity problems. However i feel like it's a separate issue from the original, would you like me to close it?

@MilhoNerfado commented on GitHub (Oct 13, 2025): Sadly i couldn't try it in my home environment. In my work PC the tool opens but i get no answer from the AI model. just like in the auth problem i previously had, I'll leave it to run for at least an hour to see if it's any connectivity problems. However i feel like it's a separate issue from the original, would you like me to close it?
Author
Owner

@MilhoNerfado commented on GitHub (Oct 13, 2025):

After a while i got an error:

AI_APICallError: The requested model is not supported.
Image
@MilhoNerfado commented on GitHub (Oct 13, 2025): After a while i got an error: ``` AI_APICallError: The requested model is not supported. ``` <img width="1883" height="1012" alt="Image" src="https://github.com/user-attachments/assets/cce9c678-3e73-49f3-980e-c14c6114072d" />
Author
Owner

@rekram1-node commented on GitHub (Oct 13, 2025):

@MilhoNerfado this one is easy fix:
AI_APICallError: The requested model is not supported.

2 things:

  1. when using github copilot, gpt-5-codex currently won't work through opencode (known issue and this is exclusively an issue with copilot)
  2. any other model you see this with you need to enable in your github copilot settings (or they are not supported by your subscription)

We document #2 here: https://opencode.ai/docs/providers/#github-copilot

@rekram1-node commented on GitHub (Oct 13, 2025): @MilhoNerfado this one is easy fix: AI_APICallError: The requested model is not supported. 2 things: 1. when using github copilot, gpt-5-codex currently won't work through opencode ([known issue](https://github.com/sst/opencode/issues/2758) and this is exclusively an issue with copilot) 2. any other model you see this with you need to enable in your github copilot settings (or they are not supported by your subscription) We document #2 here: https://opencode.ai/docs/providers/#github-copilot
Author
Owner

@MilhoNerfado commented on GitHub (Oct 14, 2025):

@rekram1-node I managed to have Sonnet 3.5 working but 4.5 has the same problem as GPT-5-codex.
Funny enough the Copilot Chat CLI uses Sonnet 4.5 without any problem.

I'll close this issue as it diverged from the original problem, thanks a lot for the support!

@MilhoNerfado commented on GitHub (Oct 14, 2025): @rekram1-node I managed to have Sonnet 3.5 working but 4.5 has the same problem as GPT-5-codex. Funny enough the Copilot Chat CLI uses Sonnet 4.5 without any problem. I'll close this issue as it diverged from the original problem, thanks a lot for the support!
Author
Owner

@rekram1-node commented on GitHub (Oct 14, 2025):

ofc!!

@rekram1-node commented on GitHub (Oct 14, 2025): ofc!!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2037