Skip to content

Message generation interrupted, stuck at Generating #2137

Closed

Description

@balpert89

I am experiencing stuck / interrupted behavior when using opencode. I have tried different models (gemini, ollama) but the behavior is the same.

I am constructing a request and the response is either stuck at Generating or it gets interrupted in the middle of streaming the response.

See the following screenshot of a test conversation:

Image

I have deleted the following directories, but to no avail:

  • ~/.cache/opencode
  • ~/.bun/install/cache

OS: arch linux
opencode version: v0.5.12

Activity

  1. github-actions commented on Aug 21, 2025

    @github-actions
    Contributor

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

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

  2. zatevakhin commented on Aug 21, 2025

    @zatevakhin

    Also started to have similar issues recently with gemini, especailly with gemini-2.5-pro.

    OS: NixOS
    opencode version: v0.5.12

    Also did cleanups, but no luck, gemini just get stuck by doing enything.

    Image
  3. arsham commented on Aug 21, 2025

    @arsham

    For me this happens with Anthropic models, and only in a situation that I have two opencode running at the same time. The second one I run keeps doing its work and causes the first one to get stuck. The esc key doesn't help either, I have to ctrl+c twice and get back to the same session and continue.

  4. rekram1-node commented on Aug 21, 2025

    @rekram1-node
    Collaborator

    Hmm interesting I will try to reproduce

  5. zatevakhin commented on Aug 21, 2025

    @zatevakhin

    FYI: I was running only one instance of opencode for repro and result is that gemini-2.5-pro get stuck on generating....

  6. balpert89 commented on Aug 21, 2025

    @balpert89
    Author

    same as @zatevakhin I am only running 1 instance of opencode.

  7. rekram1-node commented on Aug 21, 2025

    @rekram1-node
    Collaborator

    For those having problems can you run:

    opencode run "hello" --print-logs --model google/gemini-2.5-pro
    

    and show me output? Just run w/ whatever model is giving you trouble

  8. balpert89 commented on Aug 21, 2025

    @balpert89
    Author

    sure:

    opencode run "hello" --print-logs --model google/gemini-2.5-pro
    
    INFO  2025-08-21T15:13:16 +48ms service=default version=0.5.12 args=["run","hello","--print-logs","--model","google/gemini-2.5-pro"] opencode
    INFO  2025-08-21T15:13:16 +1ms service=app cwd=/home/balpert creating
    INFO  2025-08-21T15:13:16 +1ms service=app git
    INFO  2025-08-21T15:13:16 +0ms service=bus type=storage.write subscribing
    INFO  2025-08-21T15:13:16 +0ms service=app name=bus registering service
    INFO  2025-08-21T15:13:16 +0ms service=format init
    INFO  2025-08-21T15:13:16 +0ms service=bus type=file.edited subscribing
    INFO  2025-08-21T15:13:16 +0ms service=bus type=* subscribing
    INFO  2025-08-21T15:13:16 +0ms service=config.hooks init
    INFO  2025-08-21T15:13:16 +0ms service=bus type=file.edited subscribing
    INFO  2025-08-21T15:13:16 +0ms service=bus type=session.idle subscribing
    INFO  2025-08-21T15:13:16 +0ms service=app name=lsp registering service
    INFO  2025-08-21T15:13:16 +0ms service=app name=config registering service
    INFO  2025-08-21T15:13:16 +4ms service=session id=ses_732cf048dffe8bGX01M73Tw2sr version=0.5.12 title=New session - 2025-08-21T15:13:16.146Z time={"created":1755789196146,"updated":1755789196146} created
    INFO  2025-08-21T15:13:16 +0ms service=app name=session registering service
    INFO  2025-08-21T15:13:16 +0ms service=app name=storage registering service
    INFO  2025-08-21T15:13:16 +0ms service=config path=/home/balpert/.config/opencode/config.json loading
    INFO  2025-08-21T15:13:16 +1ms service=config path=/home/balpert/.config/opencode/opencode.json loading
    INFO  2025-08-21T15:13:16 +2ms service=config path=/home/balpert/.config/opencode/opencode.jsonc loading
    INFO  2025-08-21T15:13:16 +0ms service=bus type=storage.write publishing
    INFO  2025-08-21T15:13:16 +0ms service=app name=plugin registering service
    INFO  2025-08-21T15:13:16 +1ms service=config $schema=https://opencode.ai/config.json theme=tokyonight provider={"ollama":{"npm":"@ai-sdk/openai-compatible","models":{"hf.co/bartowski/Qwen_Qwen3-32B-GGUF:Q4_K_M":{"reasoning":true,"options":{"num_ctx":65536}}},"options":{"baseURL":"http://localhost:11434/v1"}},"google":{"models":{"gemini-2.5-flash":{},"gemini-2.5-pro":{}}}} agent={} mode={} plugin=[] username=balpert loaded
    INFO  2025-08-21T15:13:16 +0ms service=lsp serverIds=typescript, vue, eslint, golang, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd enabled LSP servers
    INFO  2025-08-21T15:13:16 +0ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin
    INFO  2025-08-21T15:13:16 +0ms service=bus type=session.updated publishing
    INFO  2025-08-21T15:13:16 +0ms service=app name=agent registering service
    INFO  2025-08-21T15:13:16 +1ms service=bus type=message.part.updated subscribing
    INFO  2025-08-21T15:13:16 +0ms service=bus type=session.error subscribing
    INFO  2025-08-21T15:13:16 +1ms service=session session=ses_732cf048dffe8bGX01M73Tw2sr chatting
    INFO  2025-08-21T15:13:16 +1ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
    INFO  2025-08-21T15:13:16 +8ms service=bus type=storage.write publishing
    INFO  2025-08-21T15:13:16 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T15:13:16 +0ms service=bus type=storage.write publishing
    INFO  2025-08-21T15:13:16 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-21T15:13:16 +1ms service=bus type=storage.write publishing
    INFO  2025-08-21T15:13:16 +0ms service=bus type=session.updated publishing
    INFO  2025-08-21T15:13:16 +0ms service=app name=provider registering service
    INFO  2025-08-21T15:13:16 +1ms service=models.dev file={} refreshing
    INFO  2025-08-21T15:13:16 +1ms service=provider init
    INFO  2025-08-21T15:13:16 +0ms service=provider providerID=google found
    INFO  2025-08-21T15:13:16 +0ms service=provider providerID=opencode found
    INFO  2025-08-21T15:13:16 +0ms service=provider providerID=ollama found
    INFO  2025-08-21T15:13:16 +0ms service=provider providerID=google modelID=gemini-2.5-pro getModel
    INFO  2025-08-21T15:13:16 +0ms service=provider status=started providerID=google getSDK
    INFO  2025-08-21T15:13:16 +29ms service=provider status=completed duration=29 providerID=google getSDK
    INFO  2025-08-21T15:13:16 +0ms service=provider providerID=google modelID=gemini-2.5-pro found
    INFO  2025-08-21T15:13:16 +2ms service=session session=ses_732cf048dffe8bGX01M73Tw2sr sessionID=ses_732cf048dffe8bGX01M73Tw2sr locking
    INFO  2025-08-21T15:13:16 +0ms service=provider providerID=google modelID=gemini-2.5-flash getModel
    INFO  2025-08-21T15:13:16 +0ms service=provider status=started providerID=google getSDK
    INFO  2025-08-21T15:13:16 +0ms service=provider status=completed duration=0 providerID=google getSDK
    INFO  2025-08-21T15:13:16 +0ms service=provider providerID=google modelID=gemini-2.5-flash found
    INFO  2025-08-21T15:13:16 +5ms service=bus type=storage.write publishing
    INFO  2025-08-21T15:13:16 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T15:13:16 +1ms service=app name=mcp registering service
    INFO  2025-08-21T15:13:16 +4ms service=session session=ses_732cf048dffe8bGX01M73Tw2sr type=start part
    INFO  2025-08-21T15:13:19 +2839ms service=session session=ses_732cf048dffe8bGX01M73Tw2sr type=start-step part
    INFO  2025-08-21T15:13:19 +1ms service=bus type=storage.write publishing
    INFO  2025-08-21T15:13:19 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-21T15:13:19 +0ms service=session session=ses_732cf048dffe8bGX01M73Tw2sr type=finish-step part
    INFO  2025-08-21T15:13:19 +1ms service=bus type=storage.write publishing
    INFO  2025-08-21T15:13:19 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-21T15:13:19 +0ms service=bus type=storage.write publishing
    INFO  2025-08-21T15:13:19 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T15:13:19 +0ms service=session session=ses_732cf048dffe8bGX01M73Tw2sr type=finish part
    INFO  2025-08-21T15:13:19 +5ms service=bus type=storage.write publishing
    INFO  2025-08-21T15:13:19 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T15:13:19 +0ms service=bus type=storage.write publishing
    INFO  2025-08-21T15:13:19 +1ms service=bus type=message.updated publishing
    INFO  2025-08-21T15:13:19 +0ms service=session session=ses_732cf048dffe8bGX01M73Tw2sr sessionID=ses_732cf048dffe8bGX01M73Tw2sr unlocking
    INFO  2025-08-21T15:13:19 +0ms service=bus type=session.idle publishing
    
    INFO  2025-08-21T15:13:19 +0ms service=app name=lsp shutdown
    INFO  2025-08-21T15:13:19 +0ms service=app name=session shutdown
    INFO  2025-08-21T15:13:19 +0ms service=app name=mcp shutdown
    

    afterwards, when looking at the session I can see the described issue:

    Image
  9. rekram1-node commented on Aug 21, 2025

    @rekram1-node
    Collaborator

    awesome ty

  10. zatevakhin commented on Aug 21, 2025

    @zatevakhin

    First run:

    $ bunx opencode-ai@latest run "hello" --print-logs --model google/gemini-2.5-pro
    INFO  2025-08-21T16:22:35 +149ms service=default version=0.5.13 args=["run","hello","--print-logs","--model","google/gemini-2.5-pro"] opencode
    INFO  2025-08-21T16:22:35 +1ms service=app cwd=/tmp creating
    INFO  2025-08-21T16:22:35 +2ms service=app git
    INFO  2025-08-21T16:22:35 +2ms service=app name=plugin registering service
    INFO  2025-08-21T16:22:35 +6ms service=app name=config registering service
    INFO  2025-08-21T16:22:35 +1ms service=config path=/home/ivan/.config/opencode/config.json loading
    INFO  2025-08-21T16:22:35 +1ms service=config path=/home/ivan/.config/opencode/opencode.json loading
    INFO  2025-08-21T16:22:35 +0ms service=config path=/home/ivan/.config/opencode/opencode.jsonc loading
    INFO  2025-08-21T16:22:35 +11ms service=config $schema=https://opencode.ai/config.json theme=opencode share=disabled provider={"groq":{"name":"Groq","npm":"@ai-sdk/groq","models":{},"options":{"apiKey":"","baseURL":"https://api.groq.com/openai/v1"}},"openrouter":{"name":"Openrouter","npm":"@ai-sdk/openai-compatible","models":{},"options":{"apiKey":"","baseURL":"https://openrouter.ai/api/v1"}},"ollama":{"name":"Ollama","npm":"@ai-sdk/openai-compatible","models":{"gpt-oss:20b":{"name":"gpt-oss:20b","options":{"num_ctx":128000}}},"options":{"baseURL":"http://ollama.homeworld.lan/v1"}}} mcp={"searxng":{"type":"local","command":["bunx","mcp-searxng"],"environment":{"SEARXNG_URL":"http://localhost:8080"},"enabled":true}} permission={"edit":"ask","bash":{"git status *":"allow","git diff *":"allow","ls":"allow","pwd":"allow","*":"ask"},"webfetch":"ask"} agent={} mode={} plugin=[] username=ivan loaded
    INFO  2025-08-21T16:22:35 +0ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin
    INFO  2025-08-21T16:22:35 +2ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
    INFO  2025-08-21T16:22:35 +20ms service=bus type=* subscribing
    INFO  2025-08-21T16:22:35 +0ms service=app name=bus registering service
    INFO  2025-08-21T16:22:35 +0ms service=bus type=storage.write subscribing
    INFO  2025-08-21T16:22:35 +0ms service=format init
    INFO  2025-08-21T16:22:35 +0ms service=bus type=file.edited subscribing
    INFO  2025-08-21T16:22:35 +0ms service=config.hooks init
    INFO  2025-08-21T16:22:35 +0ms service=bus type=file.edited subscribing
    INFO  2025-08-21T16:22:35 +0ms service=bus type=session.idle subscribing
    INFO  2025-08-21T16:22:35 +0ms service=app name=lsp registering service
    INFO  2025-08-21T16:22:35 +2ms service=session id=ses_7328f8d24ffeOb3knrSoG09EIt version=0.5.13 title=New session - 2025-08-21T16:22:35.483Z time={"created":1755793355483,"updated":1755793355483} created
    INFO  2025-08-21T16:22:35 +0ms service=app name=session registering service
    INFO  2025-08-21T16:22:35 +0ms service=app name=storage registering service
    INFO  2025-08-21T16:22:35 +1ms service=lsp serverIds=typescript, vue, eslint, golang, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd enabled LSP servers
    INFO  2025-08-21T16:22:35 +3ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:35 +1ms service=bus type=session.updated publishing
    INFO  2025-08-21T16:22:35 +0ms service=app name=agent registering service
    INFO  2025-08-21T16:22:35 +1ms service=bus type=message.part.updated subscribing
    INFO  2025-08-21T16:22:35 +0ms service=bus type=session.error subscribing
    INFO  2025-08-21T16:22:35 +3ms service=session session=ses_7328f8d24ffeOb3knrSoG09EIt chatting
    INFO  2025-08-21T16:22:35 +2ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:35 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T16:22:35 +1ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:35 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-21T16:22:35 +1ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:35 +0ms service=bus type=session.updated publishing
    INFO  2025-08-21T16:22:35 +1ms service=app name=provider registering service
    INFO  2025-08-21T16:22:35 +4ms service=models.dev file={} refreshing
    INFO  2025-08-21T16:22:35 +4ms service=provider init
    INFO  2025-08-21T16:22:35 +1ms service=provider providerID=google found
    INFO  2025-08-21T16:22:35 +0ms service=provider providerID=opencode found
    INFO  2025-08-21T16:22:35 +0ms service=provider providerID=groq found
    INFO  2025-08-21T16:22:35 +0ms service=provider providerID=openrouter found
    INFO  2025-08-21T16:22:35 +0ms service=provider providerID=ollama found
    INFO  2025-08-21T16:22:35 +0ms service=provider providerID=google modelID=gemini-2.5-pro getModel
    INFO  2025-08-21T16:22:35 +1ms service=provider status=started providerID=google getSDK
    INFO  2025-08-21T16:22:35 +79ms service=provider status=completed duration=79 providerID=google getSDK
    INFO  2025-08-21T16:22:35 +1ms service=provider providerID=google modelID=gemini-2.5-pro found
    INFO  2025-08-21T16:22:35 +2ms service=session session=ses_7328f8d24ffeOb3knrSoG09EIt sessionID=ses_7328f8d24ffeOb3knrSoG09EIt locking
    INFO  2025-08-21T16:22:35 +3ms service=provider providerID=google modelID=gemini-2.5-flash getModel
    INFO  2025-08-21T16:22:35 +0ms service=provider status=started providerID=google getSDK
    INFO  2025-08-21T16:22:35 +0ms service=provider status=completed duration=0 providerID=google getSDK
    INFO  2025-08-21T16:22:35 +0ms service=provider providerID=google modelID=gemini-2.5-flash found
    INFO  2025-08-21T16:22:35 +16ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:35 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T16:22:35 +3ms service=app name=mcp registering service
    INFO  2025-08-21T16:22:35 +1ms service=mcp key=searxng type=local found
    INFO  2025-08-21T16:22:36 +570ms service=session session=ses_7328f8d24ffeOb3knrSoG09EIt type=start part
    INFO  2025-08-21T16:22:37 +1244ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:37 +0ms service=bus type=session.updated publishing
    INFO  2025-08-21T16:22:38 +616ms service=session session=ses_7328f8d24ffeOb3knrSoG09EIt type=start-step part
    INFO  2025-08-21T16:22:38 +4ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:38 +1ms service=bus type=message.part.updated publishing
    INFO  2025-08-21T16:22:38 +0ms service=session session=ses_7328f8d24ffeOb3knrSoG09EIt type=text-start part
    INFO  2025-08-21T16:22:38 +0ms service=session session=ses_7328f8d24ffeOb3knrSoG09EIt type=text-delta part
    INFO  2025-08-21T16:22:38 +2ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:38 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-21T16:22:38 +0ms service=session session=ses_7328f8d24ffeOb3knrSoG09EIt type=text-end part
    INFO  2025-08-21T16:22:38 +1ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:38 +0ms service=bus type=message.part.updated publishing
    
    Hello! How can I help you today?
    
    INFO  2025-08-21T16:22:38 +0ms service=session session=ses_7328f8d24ffeOb3knrSoG09EIt type=finish-step part
    INFO  2025-08-21T16:22:38 +3ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:38 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-21T16:22:38 +1ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:38 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T16:22:38 +0ms service=session session=ses_7328f8d24ffeOb3knrSoG09EIt type=finish part
    INFO  2025-08-21T16:22:38 +0ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:38 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T16:22:38 +2ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:38 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T16:22:38 +1ms service=session session=ses_7328f8d24ffeOb3knrSoG09EIt sessionID=ses_7328f8d24ffeOb3knrSoG09EIt unlocking
    INFO  2025-08-21T16:22:38 +0ms service=bus type=session.idle publishing
    INFO  2025-08-21T16:22:38 +0ms service=app name=lsp shutdown
    INFO  2025-08-21T16:22:38 +0ms service=app name=session shutdown
    INFO  2025-08-21T16:22:38 +0ms service=app name=mcp shutdown
    

    Second run:

    $ bunx opencode-ai@latest run "hello" --print-logs --model google/gemini-2.5-pro
    INFO  2025-08-21T16:22:47 +135ms service=default version=0.5.13 args=["run","hello","--print-logs","--model","google/gemini-2.5-pro"] opencode
    INFO  2025-08-21T16:22:47 +1ms service=app cwd=/tmp creating
    INFO  2025-08-21T16:22:47 +2ms service=app git
    INFO  2025-08-21T16:22:47 +1ms service=app name=plugin registering service
    INFO  2025-08-21T16:22:47 +1ms service=app name=config registering service
    INFO  2025-08-21T16:22:47 +7ms service=config path=/home/ivan/.config/opencode/config.json loading
    INFO  2025-08-21T16:22:47 +1ms service=config path=/home/ivan/.config/opencode/opencode.json loading
    INFO  2025-08-21T16:22:47 +0ms service=config path=/home/ivan/.config/opencode/opencode.jsonc loading
    INFO  2025-08-21T16:22:47 +11ms service=config $schema=https://opencode.ai/config.json theme=opencode share=disabled provider={"groq":{"name":"Groq","npm":"@ai-sdk/groq","models":{},"options":{"apiKey":".","baseURL":"https://api.groq.com/openai/v1"}},"openrouter":{"name":"Openrouter","npm":"@ai-sdk/openai-compatible","models":{},"options":{"apiKey":"","baseURL":"https://openrouter.ai/api/v1"}},"ollama":{"name":"Ollama","npm":"@ai-sdk/openai-compatible","models":{"gpt-oss:20b":{"name":"gpt-oss:20b","options":{"num_ctx":128000}}},"options":{"baseURL":"http://ollama.homeworld.lan/v1"}}} mcp={"searxng":{"type":"local","command":["bunx","mcp-searxng"],"environment":{"SEARXNG_URL":"http://localhost:8080"},"enabled":true}} permission={"edit":"ask","bash":{"git status *":"allow","git diff *":"allow","ls":"allow","pwd":"allow","*":"ask"},"webfetch":"ask"} agent={} mode={} plugin=[] username=ivan loaded
    INFO  2025-08-21T16:22:47 +0ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin
    INFO  2025-08-21T16:22:47 +2ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
    INFO  2025-08-21T16:22:47 +21ms service=bus type=* subscribing
    INFO  2025-08-21T16:22:47 +0ms service=app name=bus registering service
    INFO  2025-08-21T16:22:47 +0ms service=bus type=storage.write subscribing
    INFO  2025-08-21T16:22:47 +0ms service=format init
    INFO  2025-08-21T16:22:47 +0ms service=bus type=file.edited subscribing
    INFO  2025-08-21T16:22:47 +0ms service=config.hooks init
    INFO  2025-08-21T16:22:47 +0ms service=bus type=file.edited subscribing
    INFO  2025-08-21T16:22:47 +0ms service=bus type=session.idle subscribing
    INFO  2025-08-21T16:22:47 +0ms service=app name=lsp registering service
    INFO  2025-08-21T16:22:47 +2ms service=session id=ses_7328f5e59ffe9kjnsx04yq3gtc version=0.5.13 title=New session - 2025-08-21T16:22:47.462Z time={"created":1755793367462,"updated":1755793367462} created
    INFO  2025-08-21T16:22:47 +0ms service=app name=session registering service
    INFO  2025-08-21T16:22:47 +0ms service=app name=storage registering service
    INFO  2025-08-21T16:22:47 +1ms service=lsp serverIds=typescript, vue, eslint, golang, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd enabled LSP servers
    INFO  2025-08-21T16:22:47 +3ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:47 +0ms service=bus type=session.updated publishing
    INFO  2025-08-21T16:22:47 +1ms service=app name=agent registering service
    INFO  2025-08-21T16:22:47 +0ms service=bus type=message.part.updated subscribing
    INFO  2025-08-21T16:22:47 +0ms service=bus type=session.error subscribing
    INFO  2025-08-21T16:22:47 +3ms service=session session=ses_7328f5e59ffe9kjnsx04yq3gtc chatting
    INFO  2025-08-21T16:22:47 +2ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:47 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T16:22:47 +1ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:47 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-21T16:22:47 +1ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:47 +0ms service=bus type=session.updated publishing
    INFO  2025-08-21T16:22:47 +0ms service=app name=provider registering service
    INFO  2025-08-21T16:22:47 +3ms service=models.dev file={} refreshing
    INFO  2025-08-21T16:22:47 +2ms service=provider init
    INFO  2025-08-21T16:22:47 +4ms service=provider providerID=google found
    INFO  2025-08-21T16:22:47 +0ms service=provider providerID=opencode found
    INFO  2025-08-21T16:22:47 +0ms service=provider providerID=groq found
    INFO  2025-08-21T16:22:47 +0ms service=provider providerID=openrouter found
    INFO  2025-08-21T16:22:47 +0ms service=provider providerID=ollama found
    INFO  2025-08-21T16:22:47 +0ms service=provider providerID=google modelID=gemini-2.5-pro getModel
    INFO  2025-08-21T16:22:47 +1ms service=provider status=started providerID=google getSDK
    INFO  2025-08-21T16:22:47 +83ms service=provider status=completed duration=83 providerID=google getSDK
    INFO  2025-08-21T16:22:47 +0ms service=provider providerID=google modelID=gemini-2.5-pro found
    INFO  2025-08-21T16:22:47 +2ms service=session session=ses_7328f5e59ffe9kjnsx04yq3gtc sessionID=ses_7328f5e59ffe9kjnsx04yq3gtc locking
    INFO  2025-08-21T16:22:47 +3ms service=provider providerID=google modelID=gemini-2.5-flash getModel
    INFO  2025-08-21T16:22:47 +0ms service=provider status=started providerID=google getSDK
    INFO  2025-08-21T16:22:47 +1ms service=provider status=completed duration=1 providerID=google getSDK
    INFO  2025-08-21T16:22:47 +0ms service=provider providerID=google modelID=gemini-2.5-flash found
    INFO  2025-08-21T16:22:47 +14ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:47 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T16:22:47 +4ms service=app name=mcp registering service
    INFO  2025-08-21T16:22:47 +0ms service=mcp key=searxng type=local found
    INFO  2025-08-21T16:22:47 +160ms service=session session=ses_7328f5e59ffe9kjnsx04yq3gtc type=start part
    INFO  2025-08-21T16:22:50 +3071ms service=session session=ses_7328f5e59ffe9kjnsx04yq3gtc type=start-step part
    INFO  2025-08-21T16:22:50 +3ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:50 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-21T16:22:50 +0ms service=session session=ses_7328f5e59ffe9kjnsx04yq3gtc type=finish-step part
    INFO  2025-08-21T16:22:50 +2ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:50 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-21T16:22:50 +1ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:50 +0ms service=bus type=message.updated publishing
    INFO  2025-08-21T16:22:50 +0ms service=session session=ses_7328f5e59ffe9kjnsx04yq3gtc type=finish part
    INFO  2025-08-21T16:22:50 +0ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:50 +1ms service=bus type=message.updated publishing
    INFO  2025-08-21T16:22:50 +0ms service=bus type=storage.write publishing
    INFO  2025-08-21T16:22:50 +1ms service=bus type=message.updated publishing
    INFO  2025-08-21T16:22:50 +0ms service=session session=ses_7328f5e59ffe9kjnsx04yq3gtc sessionID=ses_7328f5e59ffe9kjnsx04yq3gtc unlocking
    INFO  2025-08-21T16:22:50 +0ms service=bus type=session.idle publishing
    
    INFO  2025-08-21T16:22:50 +0ms service=app name=lsp shutdown
    INFO  2025-08-21T16:22:50 +1ms service=app name=session shutdown
    INFO  2025-08-21T16:22:50 +0ms service=app name=mcp shutdown
    
  11. zetomatoz commented on Aug 22, 2025

    @zetomatoz

    I faced a similar behavior with my self-hosted model (Qwen3-coder) running with vLLM. The resulting prompt coming from OpenCode sets the tool_choice field to auto, which does not play nicely with the default configuration of vLLM. It resulted into some 400 errors, but somehow OpenCode's TUI was not showing up error details and was just hanging with this Generating message. It turns out I had to use the --enable-auto-tool-choice flag of vLLM to avoid the 400s and make it work.

  12. alex-hjkl commented on Aug 22, 2025

    @alex-hjkl

    Has the same problem with google/gemini-2.5-pro more than a week.

    ➜  tmp opencode run "hello" --print-logs --model google/gemini-2.5-pro
    
    INFO  2025-08-22T12:02:37 +48ms service=default version=0.5.13 args=["run","hello","--print-logs","--model","google/gemini-2.5-pro"] opencode
    INFO  2025-08-22T12:02:37 +0ms service=app cwd=/Users/alex/Developer/tmp creating
    INFO  2025-08-22T12:02:37 +1ms service=app git
    INFO  2025-08-22T12:02:37 +2ms service=app name=plugin registering service
    INFO  2025-08-22T12:02:37 +1ms service=app name=config registering service
    INFO  2025-08-22T12:02:37 +0ms service=config path=/Users/alex/.config/opencode/config.json loading
    INFO  2025-08-22T12:02:37 +2ms service=config path=/Users/alex/.config/opencode/opencode.json loading
    INFO  2025-08-22T12:02:37 +0ms service=config path=/Users/alex/.config/opencode/opencode.jsonc loading
    INFO  2025-08-22T12:02:37 +1ms service=config $schema=https://opencode.ai/config.json instructions=["CURSOR.md","CONTRIBUTING.md","docs/guidelines.md",".cursor/rules/*.md"] agent={} mode={} plugin=[] username=alex loaded
    INFO  2025-08-22T12:02:37 +0ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin
    INFO  2025-08-22T12:02:37 +1ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
    INFO  2025-08-22T12:02:37 +11ms service=bus type=* subscribing
    INFO  2025-08-22T12:02:37 +0ms service=app name=bus registering service
    INFO  2025-08-22T12:02:37 +0ms service=bus type=storage.write subscribing
    INFO  2025-08-22T12:02:37 +0ms service=format init
    INFO  2025-08-22T12:02:37 +0ms service=bus type=file.edited subscribing
    INFO  2025-08-22T12:02:37 +0ms service=config.hooks init
    INFO  2025-08-22T12:02:37 +0ms service=bus type=file.edited subscribing
    INFO  2025-08-22T12:02:37 +0ms service=bus type=session.idle subscribing
    INFO  2025-08-22T12:02:37 +0ms service=app name=lsp registering service
    INFO  2025-08-22T12:02:37 +0ms service=session id=ses_72e5732b0ffee2ZYFGTvHX2dJz version=0.5.13 title=New session - 2025-08-22T12:02:37.519Z time={"created":1755864157519,"updated":1755864157519} created
    INFO  2025-08-22T12:02:37 +0ms service=app name=session registering service
    INFO  2025-08-22T12:02:37 +0ms service=app name=storage registering service
    INFO  2025-08-22T12:02:37 +0ms service=lsp serverIds=typescript, vue, eslint, golang, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd enabled LSP servers
    INFO  2025-08-22T12:02:37 +2ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:37 +0ms service=bus type=session.updated publishing
    INFO  2025-08-22T12:02:37 +0ms service=app name=agent registering service
    INFO  2025-08-22T12:02:37 +0ms service=bus type=message.part.updated subscribing
    INFO  2025-08-22T12:02:37 +0ms service=bus type=session.error subscribing
    INFO  2025-08-22T12:02:37 +1ms service=session session=ses_72e5732b0ffee2ZYFGTvHX2dJz chatting
    INFO  2025-08-22T12:02:37 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:37 +0ms service=bus type=message.updated publishing
    INFO  2025-08-22T12:02:37 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:37 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-22T12:02:37 +0ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:37 +0ms service=bus type=session.updated publishing
    INFO  2025-08-22T12:02:37 +1ms service=app name=provider registering service
    INFO  2025-08-22T12:02:37 +1ms service=models.dev file={} refreshing
    INFO  2025-08-22T12:02:37 +0ms service=provider init
    INFO  2025-08-22T12:02:37 +2ms service=provider providerID=google found
    INFO  2025-08-22T12:02:37 +0ms service=provider providerID=openrouter found
    INFO  2025-08-22T12:02:37 +0ms service=provider providerID=opencode found
    INFO  2025-08-22T12:02:37 +0ms service=provider providerID=github-copilot found
    INFO  2025-08-22T12:02:37 +0ms service=provider providerID=anthropic found
    INFO  2025-08-22T12:02:37 +0ms service=provider providerID=google modelID=gemini-2.5-pro getModel
    INFO  2025-08-22T12:02:37 +0ms service=provider status=started providerID=google getSDK
    INFO  2025-08-22T12:02:37 +48ms service=provider status=completed duration=48 providerID=google getSDK
    INFO  2025-08-22T12:02:37 +0ms service=provider providerID=google modelID=gemini-2.5-pro found
    INFO  2025-08-22T12:02:37 +2ms service=session session=ses_72e5732b0ffee2ZYFGTvHX2dJz sessionID=ses_72e5732b0ffee2ZYFGTvHX2dJz locking
    INFO  2025-08-22T12:02:37 +0ms service=provider providerID=google modelID=gemini-2.5-flash getModel
    INFO  2025-08-22T12:02:37 +0ms service=provider status=started providerID=google getSDK
    INFO  2025-08-22T12:02:37 +0ms service=provider status=completed duration=0 providerID=google getSDK
    INFO  2025-08-22T12:02:37 +0ms service=provider providerID=google modelID=gemini-2.5-flash found
    INFO  2025-08-22T12:02:37 +5ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:37 +0ms service=bus type=message.updated publishing
    INFO  2025-08-22T12:02:37 +1ms service=app name=mcp registering service
    INFO  2025-08-22T12:02:37 +3ms service=session session=ses_72e5732b0ffee2ZYFGTvHX2dJz type=start part
    INFO  2025-08-22T12:02:39 +1506ms service=session session=ses_72e5732b0ffee2ZYFGTvHX2dJz type=start-step part
    INFO  2025-08-22T12:02:39 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:39 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-22T12:02:39 +1ms service=session session=ses_72e5732b0ffee2ZYFGTvHX2dJz type=finish-step part
    INFO  2025-08-22T12:02:39 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:39 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-22T12:02:39 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:39 +0ms service=bus type=message.updated publishing
    INFO  2025-08-22T12:02:39 +0ms service=session session=ses_72e5732b0ffee2ZYFGTvHX2dJz type=finish part
    INFO  2025-08-22T12:02:39 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:39 +0ms service=bus type=message.updated publishing
    INFO  2025-08-22T12:02:39 +0ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:39 +0ms service=bus type=message.updated publishing
    INFO  2025-08-22T12:02:39 +1ms service=session session=ses_72e5732b0ffee2ZYFGTvHX2dJz sessionID=ses_72e5732b0ffee2ZYFGTvHX2dJz unlocking
    INFO  2025-08-22T12:02:39 +0ms service=bus type=session.idle publishing
    
    INFO  2025-08-22T12:02:39 +0ms service=app name=lsp shutdown
    INFO  2025-08-22T12:02:39 +0ms service=app name=session shutdown
    INFO  2025-08-22T12:02:39 +0ms service=app name=mcp shutdown
    INFO  2025-08-22T12:02:42 +3093ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:02:42 +0ms service=bus type=session.updated publishing
    
    

    But it works for not google providers

    ➜  tmp opencode run "hello" --print-logs --model github-copilot/gemini-2.5-pro
    
    INFO  2025-08-22T12:22:31 +41ms service=default version=0.5.13 args=["run","hello","--print-logs","--model","github-copilot/gemini-2.5-pro"] opencode
    INFO  2025-08-22T12:22:31 +0ms service=app cwd=/Users/alex/Developer/tmp creating
    INFO  2025-08-22T12:22:31 +2ms service=app git
    INFO  2025-08-22T12:22:31 +1ms service=app name=plugin registering service
    INFO  2025-08-22T12:22:31 +1ms service=app name=config registering service
    INFO  2025-08-22T12:22:31 +0ms service=config path=/Users/alex/.config/opencode/config.json loading
    INFO  2025-08-22T12:22:31 +1ms service=config path=/Users/alex/.config/opencode/opencode.json loading
    INFO  2025-08-22T12:22:31 +0ms service=config path=/Users/alex/.config/opencode/opencode.jsonc loading
    INFO  2025-08-22T12:22:31 +1ms service=config $schema=https://opencode.ai/config.json instructions=["CURSOR.md","CONTRIBUTING.md","docs/guidelines.md",".cursor/rules/*.md"] agent={} mode={} plugin=[] username=alex loaded
    INFO  2025-08-22T12:22:31 +0ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin
    INFO  2025-08-22T12:22:31 +1ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
    INFO  2025-08-22T12:22:31 +8ms service=bus type=* subscribing
    INFO  2025-08-22T12:22:31 +0ms service=app name=bus registering service
    INFO  2025-08-22T12:22:31 +0ms service=bus type=storage.write subscribing
    INFO  2025-08-22T12:22:31 +0ms service=format init
    INFO  2025-08-22T12:22:31 +0ms service=bus type=file.edited subscribing
    INFO  2025-08-22T12:22:31 +0ms service=config.hooks init
    INFO  2025-08-22T12:22:31 +0ms service=bus type=file.edited subscribing
    INFO  2025-08-22T12:22:31 +0ms service=bus type=session.idle subscribing
    INFO  2025-08-22T12:22:31 +0ms service=app name=lsp registering service
    INFO  2025-08-22T12:22:31 +1ms service=session id=ses_72e44fb2cffeSv48YbAwvQ2FQ7 version=0.5.13 title=New session - 2025-08-22T12:22:31.379Z time={"created":1755865351379,"updated":1755865351379} created
    INFO  2025-08-22T12:22:31 +0ms service=app name=session registering service
    INFO  2025-08-22T12:22:31 +0ms service=app name=storage registering service
    INFO  2025-08-22T12:22:31 +0ms service=lsp serverIds=typescript, vue, eslint, golang, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd enabled LSP servers
    INFO  2025-08-22T12:22:31 +0ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:31 +0ms service=bus type=session.updated publishing
    INFO  2025-08-22T12:22:31 +0ms service=app name=agent registering service
    INFO  2025-08-22T12:22:31 +1ms service=bus type=message.part.updated subscribing
    INFO  2025-08-22T12:22:31 +0ms service=bus type=session.error subscribing
    INFO  2025-08-22T12:22:31 +1ms service=session session=ses_72e44fb2cffeSv48YbAwvQ2FQ7 chatting
    INFO  2025-08-22T12:22:31 +0ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:31 +0ms service=bus type=message.updated publishing
    INFO  2025-08-22T12:22:31 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:31 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-22T12:22:31 +0ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:31 +0ms service=bus type=session.updated publishing
    INFO  2025-08-22T12:22:31 +0ms service=app name=provider registering service
    INFO  2025-08-22T12:22:31 +1ms service=models.dev file={} refreshing
    INFO  2025-08-22T12:22:31 +2ms service=provider init
    INFO  2025-08-22T12:22:31 +0ms service=provider providerID=google found
    INFO  2025-08-22T12:22:31 +0ms service=provider providerID=openrouter found
    INFO  2025-08-22T12:22:31 +0ms service=provider providerID=opencode found
    INFO  2025-08-22T12:22:31 +0ms service=provider providerID=github-copilot found
    INFO  2025-08-22T12:22:31 +0ms service=provider providerID=anthropic found
    INFO  2025-08-22T12:22:31 +0ms service=provider providerID=github-copilot modelID=gemini-2.5-pro getModel
    INFO  2025-08-22T12:22:31 +0ms service=provider status=started providerID=github-copilot getSDK
    INFO  2025-08-22T12:22:31 +26ms service=provider status=completed duration=26 providerID=github-copilot getSDK
    INFO  2025-08-22T12:22:31 +0ms service=provider providerID=github-copilot modelID=gemini-2.5-pro found
    INFO  2025-08-22T12:22:31 +2ms service=session session=ses_72e44fb2cffeSv48YbAwvQ2FQ7 sessionID=ses_72e44fb2cffeSv48YbAwvQ2FQ7 locking
    INFO  2025-08-22T12:22:31 +4ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:31 +0ms service=bus type=message.updated publishing
    INFO  2025-08-22T12:22:31 +1ms service=app name=mcp registering service
    INFO  2025-08-22T12:22:31 +3ms service=session session=ses_72e44fb2cffeSv48YbAwvQ2FQ7 type=start part
    INFO  2025-08-22T12:22:33 +2133ms service=session session=ses_72e44fb2cffeSv48YbAwvQ2FQ7 type=start-step part
    INFO  2025-08-22T12:22:33 +3ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:33 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-22T12:22:33 +0ms service=session session=ses_72e44fb2cffeSv48YbAwvQ2FQ7 type=text-start part
    INFO  2025-08-22T12:22:33 +0ms service=session session=ses_72e44fb2cffeSv48YbAwvQ2FQ7 type=text-delta part
    INFO  2025-08-22T12:22:33 +2ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:33 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-22T12:22:33 +0ms service=session session=ses_72e44fb2cffeSv48YbAwvQ2FQ7 type=text-end part
    INFO  2025-08-22T12:22:33 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:33 +0ms service=bus type=message.part.updated publishing
    
    Hello! What can I help you with today?
    
    INFO  2025-08-22T12:22:33 +0ms service=session session=ses_72e44fb2cffeSv48YbAwvQ2FQ7 type=finish-step part
    INFO  2025-08-22T12:22:33 +2ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:33 +0ms service=bus type=message.part.updated publishing
    INFO  2025-08-22T12:22:33 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:33 +0ms service=bus type=message.updated publishing
    INFO  2025-08-22T12:22:33 +0ms service=session session=ses_72e44fb2cffeSv48YbAwvQ2FQ7 type=finish part
    INFO  2025-08-22T12:22:33 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:33 +0ms service=bus type=message.updated publishing
    INFO  2025-08-22T12:22:33 +1ms service=bus type=storage.write publishing
    INFO  2025-08-22T12:22:33 +0ms service=bus type=message.updated publishing
    INFO  2025-08-22T12:22:33 +0ms service=session session=ses_72e44fb2cffeSv48YbAwvQ2FQ7 sessionID=ses_72e44fb2cffeSv48YbAwvQ2FQ7 unlocking
    INFO  2025-08-22T12:22:33 +0ms service=bus type=session.idle publishing
    INFO  2025-08-22T12:22:33 +0ms service=app name=lsp shutdown
    INFO  2025-08-22T12:22:33 +0ms service=app name=session shutdown
    INFO  2025-08-22T12:22:33 +0ms service=app name=mcp shutdown
    
  13. rekram1-node commented on Aug 22, 2025

    @rekram1-node
    Collaborator

    what happens if you try deleting ~/.cache/opencode

    ^^ it is a dir

  14. alex-hjkl commented on Aug 22, 2025

    @alex-hjkl

    what happens if you try deleting ~/.cache/opencode

    ^^ it is a dir

    Doesn't help. It goes back from "working..." to "enter" state pretty quick and stops "Generating"

    Screen.Recording.2025-08-22.at.15.52.00.mov
  15. 8 remaining items

  16. 43034r commented on Aug 31, 2025

    @43034r

    @43034r based off that log snippet it looks like it replied just fine? is it only hanging when in tui mode?

    Yes, have hanging only in UI mode. I using 2 MCP servers - both locally - context7, gitlab mcp.

  17. rekram1-node commented on Aug 31, 2025

    @rekram1-node
    Collaborator

    ahh can you try disabling the gitlab mcp and trying again, wonder if that is the issue

  18. 43034r commented on Aug 31, 2025

    @43034r

    ahh can you try disabling the gitlab mcp and trying again, wonder if that is the issue

    Tried without any MCP - works.
    restarted two local containers context7, gitlab mcp, - hello works, but another promt return "Generating..."

    gitlab mcp - look likes this one is the root cause in my case. TY for help.

  19. alex-hjkl commented on Sep 1, 2025

    @alex-hjkl

    Super, v0.5.29 works for me. No mcp. Thanks a lot!

  20. sQVe commented on Sep 1, 2025

    @sQVe

    I'm seeing this issue fairly often, and I'm using these MCPs:

    1. Sequential Thinking
    2. Context7
    3. Zen
    4. GitHub
    5. Chrome
  21. rekram1-node commented on Sep 1, 2025

    @rekram1-node
    Collaborator

    thx for sharing @sQVe it definitely isnt context7 but it might be one of the others

  22. imajus commented on Sep 9, 2025

    @imajus

    Also have the same issue, and the worst is that killing OpenCode and restarting with opencode --continue get me to the same hanged state. Starting normally and switching to previous session via /sessions has the same effect.

    The only way to fix this AFAIK is to start a completely new session, which is annoying because I need to resemble a full conversation history manually. Unless I would face the same issue at some point, which is very likely.

    I'm running Arch Linux and last time I faces it I was using Claude Opus 4.1 in PLAN mode.

  23. rekram1-node commented on Sep 9, 2025

    @rekram1-node
    Collaborator

    Can you show me what you see if you do:

    opencode run "hello" -c --print-logs

    in the session that hangs

  24. rekram1-node commented on Sep 9, 2025

    @rekram1-node
    Collaborator

    does it only happen on file edits maybe?

  25. sagarbehere commented on Sep 19, 2025

    @sagarbehere

    I just encountered this after downloading and using opencode with gemini-2.5-pro. It happened within a few minutes. I am not using any MCPs.

  26. rekram1-node commented on Sep 19, 2025

    @rekram1-node
    Collaborator

    @sagarbehere did it happen when it tried editing a file? if so what file type

    could you share error log

  27. sagarbehere commented on Sep 19, 2025

    @sagarbehere

    @rekram1-node It happened while I was in a back-and-forth chat with gemini-2.5-pro and during this chat I'd occasionally ask it to update a specification document (a .md file). However, the particular chat messages in response to which it got stuck on Generating.. were not requests to edit the .md file.

    (venv) sagar@Sagars-MacBook-Pro finzytrack % opencode run "hello" --print-logs --model google/gemini-2.5-pro
    INFO  2025-09-19T22:48:11 +42ms service=default version=0.10.3 args=["run","hello","--print-logs","--model","google/gemini-2.5-pro"] opencode
    INFO  2025-09-19T22:48:11 +0ms service=project directory=/Users/sagar/experiments/finzytrack fromDirectory
    INFO  2025-09-19T22:48:11 +21ms service=config path=/Users/sagar/.config/opencode/config.json loading
    INFO  2025-09-19T22:48:11 +0ms service=config path=/Users/sagar/.config/opencode/opencode.json loading
    INFO  2025-09-19T22:48:11 +2ms service=config path=/Users/sagar/.config/opencode/opencode.jsonc loading
    INFO  2025-09-19T22:48:11 +1ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin
    INFO  2025-09-19T22:48:11 +2ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
    INFO  2025-09-19T22:48:11 +14ms service=bus type=* subscribing
    INFO  2025-09-19T22:48:11 +0ms service=bus type=session.updated subscribing
    INFO  2025-09-19T22:48:11 +0ms service=bus type=message.updated subscribing
    INFO  2025-09-19T22:48:11 +1ms service=bus type=message.part.updated subscribing
    INFO  2025-09-19T22:48:11 +0ms service=format init
    INFO  2025-09-19T22:48:11 +0ms service=bus type=file.edited subscribing
    INFO  2025-09-19T22:48:11 +0ms service=session id=ses_69bd61a7bffe0H7tHOr5DSVzDj version=0.10.3 projectID=d9f7a8aac8f8f243d97f4381bf10a6db8a794a60 directory=/Users/sagar/experiments/finzytrack title=New session - 2025-09-19T22:48:11.396Z time={"created":1758322091396,"updated":1758322091396} created
    INFO  2025-09-19T22:48:11 +0ms service=lsp serverIds=typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd, svelte enabled LSP servers
    INFO  2025-09-19T22:48:11 +0ms service=bus type=session.updated publishing
    INFO  2025-09-19T22:48:11 +1ms service=bus type=message.part.updated subscribing
    INFO  2025-09-19T22:48:11 +0ms service=bus type=session.error subscribing
    INFO  2025-09-19T22:48:11 +0ms service=session.prompt session=ses_69bd61a7bffe0H7tHOr5DSVzDj prompt
    INFO  2025-09-19T22:48:11 +1ms service=bus type=message.updated publishing
    INFO  2025-09-19T22:48:11 +1ms service=bus type=message.part.updated publishing
    INFO  2025-09-19T22:48:11 +0ms service=bus type=session.updated publishing
    INFO  2025-09-19T22:48:11 +1ms service=models.dev file={} refreshing
    INFO  2025-09-19T22:48:11 +2ms service=provider init
    INFO  2025-09-19T22:48:11 +0ms service=provider providerID=google found
    INFO  2025-09-19T22:48:11 +0ms service=provider providerID=openrouter found
    INFO  2025-09-19T22:48:11 +0ms service=provider providerID=opencode found
    INFO  2025-09-19T22:48:11 +0ms service=provider providerID=google modelID=gemini-2.5-pro getModel
    INFO  2025-09-19T22:48:11 +0ms service=provider status=started providerID=google getSDK
    INFO  2025-09-19T22:48:11 +36ms service=provider status=completed duration=36 providerID=google getSDK
    INFO  2025-09-19T22:48:11 +0ms service=provider providerID=google modelID=gemini-2.5-pro found
    INFO  2025-09-19T22:48:11 +0ms service=session.prompt session=ses_69bd61a7bffe0H7tHOr5DSVzDj sessionID=ses_69bd61a7bffe0H7tHOr5DSVzDj locking
    INFO  2025-09-19T22:48:11 +12ms service=provider providerID=google modelID=gemini-2.5-flash-preview-05-20 getModel
    INFO  2025-09-19T22:48:11 +0ms service=provider status=started providerID=google getSDK
    INFO  2025-09-19T22:48:11 +0ms service=provider status=completed duration=0 providerID=google getSDK
    INFO  2025-09-19T22:48:11 +0ms service=bus type=message.updated publishing
    INFO  2025-09-19T22:48:11 +0ms service=provider providerID=google modelID=gemini-2.5-flash-preview-05-20 found
    INFO  2025-09-19T22:48:11 +3ms service=session.prompt session=ses_69bd61a7bffe0H7tHOr5DSVzDj process
    INFO  2025-09-19T22:48:11 +1ms service=session.prompt session=ses_69bd61a7bffe0H7tHOr5DSVzDj type=start part
    INFO  2025-09-19T22:48:12 +607ms service=bus type=session.updated publishing
    
  28. rekram1-node commented on Sep 20, 2025

    @rekram1-node
    Collaborator

    hmm if you run into it again can you share the latest log file when it happens?

  29. rekram1-node commented on Dec 28, 2025

    @rekram1-node
    Collaborator

    [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

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