Skip to content

The AI doesn't respond and stays at "working". #1120

Closed

Description

@KannaKuron

"""
PS C:\Users\kanna> opencode run "Just reply to me with the number 1." --print-logs
INFO 2025-07-18T11:36:27 +127ms service=app cwd=C:\Users\kanna creating
INFO 2025-07-18T11:36:27 +0ms service=default version=0.3.20 args=["run","Just reply to me with the number 1.","--print-logs"] opencode
INFO 2025-07-18T11:36:27 +1ms service=app cwd=C:\Users\kanna creating
INFO 2025-07-18T11:36:27 +3ms service=app git
INFO 2025-07-18T11:36:27 +1ms service=app git
INFO 2025-07-18T11:36:27 +16ms service=app name=config registering service
INFO 2025-07-18T11:36:27 +1ms service=bus type=storage.write subscribing
INFO 2025-07-18T11:36:27 +0ms service=app name=bus registering service
INFO 2025-07-18T11:36:27 +1ms service=format init
INFO 2025-07-18T11:36:27 +0ms service=bus type=file.edited subscribing
INFO 2025-07-18T11:36:27 +0ms service=config.hooks init
INFO 2025-07-18T11:36:27 +0ms service=bus type=file.edited subscribing
INFO 2025-07-18T11:36:27 +0ms service=bus type=session.idle subscribing
INFO 2025-07-18T11:36:27 +0ms service=app name=lsp registering service
INFO 2025-07-18T11:36:27 +1ms service=session id=ses_7e2adb9bcffeMmdTcyWMH9opAf version=0.3.20 title=New Session - 2025-07-18T11:36:27.971Z time={"created":1752838587971,"updated":1752838587971} created
INFO 2025-07-18T11:36:27 +1ms service=app name=session registering service
INFO 2025-07-18T11:36:27 +0ms service=app name=storage registering service
INFO 2025-07-18T11:36:27 +6ms service=storage index=0 running migration
INFO 2025-07-18T11:36:27 +2ms service=config $schema=https://opencode.ai/config.json autoshare=false autoupdate=false provider={"ollama":{"npm":"@ai-sdk/openai-compatible","models":{"llama2":{}},"options":{"baseURL":"http://localhost:11434/v1"}},"moonshot":{"npm":"@ai-sdk/openai-compatible","models":{"kimi-k2-0711-preview":{"name":"kimi-k2","cost":{"input":0.8,"output":8,"cache_read":0.4,"cache_write":4},"limit":{"context":128000,"output":32000}}},"options":{"baseURL":"https://api.moonshot.cn/v1"}},"volcengine":{"npm":"@ai-sdk/openai-compatible","models":{"doubao-seed-1-6-250615":{"name":"doubao-seed-1-6-250615"},"doubao-seed-1-6-thinking-250615":{"name":"doubao-seed-1-6-thinking-250615"}},"options":{"baseURL":"https://ark.cn-beijing.volces.com/api/v3/"}}} mcp={} username=kanna layout=auto loaded
INFO 2025-07-18T11:36:27 +0ms service=storage index=1 running migration
INFO 2025-07-18T11:36:27 +8ms service=bus type=storage.write publishing
INFO 2025-07-18T11:36:27 +0ms service=app name=config registering service
INFO 2025-07-18T11:36:27 +1ms service=config $schema=https://opencode.ai/config.json autoshare=false autoupdate=false provider={"ollama":{"npm":"@ai-sdk/openai-compatible","models":{"llama2":{}},"options":{"baseURL":"http://localhost:11434/v1"}},"moonshot":{"npm":"@ai-sdk/openai-compatible","models":{"kimi-k2-0711-preview":{"name":"kimi-k2","cost":{"input":0.8,"output":8,"cache_read":0.4,"cache_write":4},"limit":{"context":128000,"output":32000}}},"options":{"baseURL":"https://api.moonshot.cn/v1"}},"volcengine":{"npm":"@ai-sdk/openai-compatible","models":{"doubao-seed-1-6-250615":{"name":"doubao-seed-1-6-250615"},"doubao-seed-1-6-thinking-250615":{"name":"doubao-seed-1-6-thinking-250615"}},"options":{"baseURL":"https://ark.cn-beijing.volces.com/api/v3/"}}} mcp={} username=kanna layout=auto loaded
INFO 2025-07-18T11:36:27 +0ms service=bus type=session.updated publishing

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

INFO 2025-07-18T11:36:27 +0ms service=app name=provider registering service
INFO 2025-07-18T11:36:27 +4ms service=models.dev refreshing
INFO 2025-07-18T11:36:27 +0ms service=provider init
INFO 2025-07-18T11:36:27 +6ms service=provider providerID=anthropic found
INFO 2025-07-18T11:36:27 +0ms service=provider providerID=deepseek found
INFO 2025-07-18T11:36:27 +0ms service=provider providerID=moonshot found
INFO 2025-07-18T11:36:27 +0ms service=provider providerID=volcengine found
INFO 2025-07-18T11:36:27 +0ms service=provider providerID=openrouter found
INFO 2025-07-18T11:36:27 +0ms service=provider providerID=ollama found
@ moonshot/kimi-k2-0711-preview

INFO 2025-07-18T11:36:28 +1ms service=bus type=message.part.updated subscribing
INFO 2025-07-18T11:36:28 +0ms service=bus type=session.error subscribing
INFO 2025-07-18T11:36:28 +0ms service=app name=mode registering service
INFO 2025-07-18T11:36:28 +2ms service=session session=ses_7e2adb9bcffeMmdTcyWMH9opAf chatting
INFO 2025-07-18T11:36:28 +1ms service=provider providerID=moonshot modelID=kimi-k2-0711-preview getModel
INFO 2025-07-18T11:36:28 +0ms service=provider status=started providerID=moonshot getSDK
INFO 2025-07-18T11:36:28 +129ms service=provider status=completed duration=129 providerID=moonshot getSDK
INFO 2025-07-18T11:36:28 +2ms service=provider providerID=moonshot modelID=kimi-k2-0711-preview found
INFO 2025-07-18T11:36:28 +2ms service=session session=ses_7e2adb9bcffeMmdTcyWMH9opAf sessionID=ses_7e2adb9bcffeMmdTcyWMH9opAf locking
INFO 2025-07-18T11:36:28 +21ms service=bus type=storage.write publishing
INFO 2025-07-18T11:36:28 +0ms service=bus type=message.updated publishing
INFO 2025-07-18T11:36:28 +6ms service=bus type=storage.write publishing
INFO 2025-07-18T11:36:28 +0ms service=bus type=message.part.updated publishing
INFO 2025-07-18T11:36:28 +7ms service=bus type=storage.write publishing
INFO 2025-07-18T11:36:28 +0ms service=bus type=message.updated publishing
INFO 2025-07-18T11:36:28 +1ms service=app name=mcp registering service
INFO 2025-07-18T11:36:28 +10ms service=session session=ses_7e2adb9bcffeMmdTcyWMH9opAf type=start part
INFO 2025-07-18T11:36:28 +1ms service=snapshot creating snapshot
INFO 2025-07-18T11:36:28 +287ms service=snapshot count=0 found files
INFO 2025-07-18T11:36:28 +174ms service=snapshot initialized
INFO 2025-07-18T11:36:29 +844ms service=bus type=storage.write publishing
INFO 2025-07-18T11:36:29 +0ms service=bus type=session.updated publishing
"""

Not only does it not respond, but the folder ~.local\share\opencode\project keeps growing uncontrollably; during my own testing it reached 2 GB and the model still gave no reply. Moreover, when I tried to use a local Ollama model, the GPU showed no activity at all.
I've tried it on different computers with Windows 11 and Windows 10, and it doesn't respond. Occasionally, if I send several more messages, it will slowly print out a response that might be from several messages ago.

Activity

  1. almirsarajcic commented on Jul 18, 2025

    @almirsarajcic
    Contributor

    Related: #731.

  2. self-assigned this
    on Jul 18, 2025
  3. Itsnotaka commented on Jul 18, 2025

    @Itsnotaka
    Contributor

    related: #1058

  4. KannaKuron commented on Jul 19, 2025

    @KannaKuron
    Author

    I don't know why, every new session just stays stuck at "working" after the first message, with no reply. Subsequent messages either throw a "post failed" error or appear sent but get no response at all, as shown in the image below.

    Image Image
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