anomalyco / anomalyco/opencode

DeepSeek V4 inherits conflicting default system prompt

Open
#38,234 0 comments 0 reactions 1 assignee View on GitHub

@rekram1-node is already working on this.

Since Jul 22, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

DeepSeek V4 currently falls through to the generic default.txt system prompt. That prompt combines aggressive brevity rules (fewer than 4 lines, One word answers are best, and stopping immediately after edits) with guidance to delegate routine file search to the Task tool.

For DeepSeek V4 coding sessions this produces shallow responses and unnecessary subagent delegation. DeepSeek V4 should use a dedicated, consistent prompt that prefers direct read/grep/glob exploration and does not impose those conflicting response constraints.

Plugins

None

OpenCode version

1.18.4

Steps to reproduce
  1. Configure a DeepSeek V4 model.
  2. Start a coding task that requires reading and modifying several files.
  3. Observe that the model receives the generic prompt's extreme brevity and Task-first file-search instructions.
Screenshot and/or share link

No response

Operating System

macOS 26.5.2

Terminal

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.