Skip to content

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

Closed as duplicate

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"
}

Activity

  1. github-actions commented on Jul 15, 2026

    @github-actions
    Contributor

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

  2. xiangdongbu commented on Aug 21, 2026

    @xiangdongbu
  3. neriousy commented on Oct 1, 2026

    @neriousy
    Member

    Closing as a duplicate of #32747, which tracks @ file mentions not finding files created after OpenCode started. Please add your details (Desktop, version) there.

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