You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/deepseek-compat-kit.js
+57Lines changed: 57 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -452,6 +452,16 @@ async function probeEndpoint(args) {
452
452
expectStream: true,
453
453
}));
454
454
455
+
report.checks.push(awaitrunProbeCheck({
456
+
name: "multi_turn_tool_messages",
457
+
capability: "multi_turn_tool_messages",
458
+
description: "Endpoint accepts a follow-up request containing assistant tool_calls, reasoning_content, and tool results.",
459
+
impact: "Multi-turn tool-calling agents can pass DeepSeek reasoning_content back alongside tool results.",
460
+
recommendation: "If this warns or fails, confirm that the framework preserves reasoning_content and that the provider accepts DeepSeek tool-call message history.",
461
+
request: buildMultiTurnToolProbeRequest(model),
462
+
baseUrl,
463
+
}));
464
+
455
465
report.checks.push(awaitrunProbeCheck({
456
466
name: "strict_schema_request",
457
467
capability: "strict_schema",
@@ -609,6 +619,53 @@ function buildProbeRequest({ model, stream }) {
609
619
};
610
620
}
611
621
622
+
functionbuildMultiTurnToolProbeRequest(model){
623
+
return{
624
+
model,
625
+
messages: [
626
+
{role: "user",content: "Use the weather tool for Paris."},
627
+
{
628
+
role: "assistant",
629
+
content: null,
630
+
reasoning_content: "I need to call the weather tool before answering.",
|`streaming`|`stream: true` with event-stream-like response | Verifies whether streaming clients can parse incremental responses. |
66
+
|`multi_turn_tool_messages`| Follow-up request containing assistant `tool_calls`, `reasoning_content`, and a matching `tool` result | Verifies whether Agent loops can pass DeepSeek reasoning content back through multi-turn tool-call history. |
`probe` checks basic chat completions, streaming response shape, and a minimal strict tool schema request. It is not a benchmark or load test. The Markdown report is designed for team handoff or upstream issue triage.
27
+
`probe` checks basic chat completions, streaming response shape, multi-turn tool-call message history with `reasoning_content`, and a minimal strict tool schema request. It is not a benchmark or load test. The Markdown report is designed for team handoff or upstream issue triage.
0 commit comments