Deepseek Tool Mangling
メンテナーはふだん 8 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
The payload names no source files or tests. Begin at the DeepSeek provider integration and the shared tool-call streaming/argument parser, then reproduce with a turn that emits at least two tool calls while comparing the raw streamed arguments against the parsed arguments. Done means multi-call turns preserve each call's fields and either apply edits correctly or fail cleanly.
索引モデルが issue の本文から書いたものです。
説明
Before submitting your bug report
- I've tried finding an answer on the Continue docs site
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Windows: 11
- Continue version: 2.0.0
- IDE version: {
Version: 1.131.0 (system setup)
Commit: e4c7e7b1d6d060162f4aa7f8225271b67ce1df75
Date: 2026-07-28T10:51:25Z
Electron: 42.7.0
ElectronBuildId: 14710161
Chromium: 148.0.7778.280
Node.js: 24.18.0
V8: 14.8.178.38-electron.0
OS: Windows_NT x64 10.0.26200
}
- Model: Deepseek
- config:
name: Main Config
version: 1.0.0
schema: v1
disableAutocomplete: true
models:
- name: DeepSeek Coder
provider: deepseek
model: deepseek-coder
apiKey:
contextLength: 128000
shell: powershell.exe
OR link to agent in Continue hub:
Description
Intermittently, when the agent emits tool calls, the arguments arrive corrupted in transit with no user input at all (no typing, no editor interaction). Required fields arrive empty (filepath, old_string, new_string), field values from sibling calls get interleaved/swapped, and the JSON is truncated mid-value. In the worst case an edit reports success but writes garbled or truncated content to disk (e.g. #pragma once → #pragma o sha; a header truncated mid-line), silently breaking source files. Failures surface inconsistently as ... argument is required or Cannot read properties of undefined (reading 'trim'). Markedly worse when multiple tool calls are batched in a single turn, pointing to a stream/serialization problem in argument generation or parsing.
To reproduce
Tool-call argument corruption
Conditions that make it reliable:
Agent is asked to perform a task that produces multiple tool calls in a single turn (e.g., "read these 3 files", or a multi-part edit touching several files).
Target files exist and the IDE editor panel is open (typing is not required).
Steps:
Give the agent a task that naturally emits ≥2 tool calls in one turn (e.g., "open A.cpp, B.cpp, and C.cpp and summarize each", or "add this same change to these 3 files").
Do not type or click in the editor while the turn streams.
Observe the tools: one or more calls fail with a missing/invalid argument — e.g. filepath argument is required, string old_string is required, string new_string is required, or Cannot read properties of undefined (reading 'trim').
In some runs, observe sibling-field contamination: an old_string/new_string containing text belonging to the other call, or filepath appearing inside changes.
In the worst case, an edit tool reports success but the file on disk is corrupted — truncated mid-line or with characters swapped (e.g. #pragma once → #pragma o sha, or a header ending abruptly at // Latest detected regions (image pixel).
Expected: each tool call receives exactly the arguments the agent emitted; edits either fully succeed with correct content or fail cleanly. Actual: arguments are empty/swapped/truncated and/or files are silently written corrupt.
Confirm it is not user-input related: keep hands completely off the keyboard/mouse for the whole turn; the corruption still occurs.
Log output
- 主要言語
- TypeScript
- スター
- 36.5k
- フォーク
- 5.6k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
continuedev/continue のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
continuedev/continue#13486 ·
メンテナーはふだん 8 日以内に返信
-
Chat panel overflows horizontally when VS Code zoom level is increased (Cmd/Ctrl + +)対応中かも @tang-ontheway が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
continuedev/continue#13483 ·
メンテナーはふだん 8 日以内に返信
-
Docs: show tool selection for a shared remote MCP endpoint対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
continuedev/continue#13464 · コメント 1 件 ·
メンテナーはふだん 8 日以内に返信
-
Inline code becomes unreadable in VS Code high-contrast themes対応中かも @aminesayagh が 21 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
continuedev/continue#13424 ·
メンテナーはふだん 8 日以内に返信
-
create_new_file writes a JSON file on one line when the model sends its contents as a JSON value対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
continuedev/continue#13363 ·
メンテナーはふだん 8 日以内に返信
continuedev/continue の issue をすべて見る
似ている issue
-
area-templates triage:bot-seen triage:needs-human
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
microsoft/aspire#22356 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Archiving an agent that is not loaded keeps its old updatedAt対応中かも @luoph が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
content triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
contributor: external needs review severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
Enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
JSPrismarine/JSPrismarine#3214 ·
メンテナーはふだん 1 日以内に返信