Skip to content

Commit a1ca4e5

Browse files
boomzeroclaude
andcommitted
fix: add required DebugMode field to API request body
API returns "参数DebugMode未找到" without it, causing all calls to fail. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 30e68f6 commit a1ca4e5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

messages.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ <h5 class="mb-0 flex-grow-1" id="thread-title">与 … 的对话</h5>
476476
body: JSON.stringify({
477477
Authentication: { SessionID: currentUser.phpsessid, Username: currentUser.username },
478478
Data: data,
479-
Version: WEBUI_VERSION
479+
Version: WEBUI_VERSION,
480+
DebugMode: false
480481
})
481482
});
482483
if (!res.ok) throw new Error('HTTP ' + res.status);

0 commit comments

Comments
 (0)