Skip to content

OpenCode Desktop does not reference a newly created file in the chat #37103

Description

@antag0n1st

Description

OpenCode Desktop does not reference a newly created file in the chat , if a model creates a new file , and then I try to reference that file by name with @ , it cant find it , I have to restart the studio to be able to reference the new files.

I'm on windows 11.

OpenCode Desktop v1.17.20

here is my opencode.jsonc

  "$schema": "https://opencode.ai/config.json",
  "disabled_providers": [],
  "plugin": ["@dietrichgebert/ponytail"],
  "provider": {
    "localllm": {
      "name": "Local LLM",
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "http://192.168.0.57:1234/v1"
      },
      "models": {
        "qwen3.6-27b-mtp": {
          "name": "Qwen 3.6 27b",
          "limit": {
            "context": 226000,
            "output": 65536
          }
        },
		"qwen3.6-27b-mtp@q5_k_m": {
          "name": "Qwen 3.6 27b Q5",
          "limit": {
            "context": 120000,
            "output": 65536
          }
        },
      }
    }
  },
  "shell": "powershell"
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions