Files
dxdesigner-part-replacement/tools/dsh_tool_probe.mjs
T
阿白叔 488bf027cc
Core regression / Python core, intervention UI and release configuration (push) Successful in 16m20s
Core regression / JavaScript syntax (push) Successful in 11s
Core regression / Python core, intervention UI and release configuration (pull_request) Failing after 11m11s
Core regression / JavaScript syntax (pull_request) Successful in 7s
feat: update DeepSeek Harness and support runtime upgrades
2026-11-20 15:43:58 +08:00

9 lines
341 B
JavaScript

/** Run one tool through the installed Harness batch executor. */
export async function executeTool(ctx, {callId, name, arguments: args, ...options}) {
const {results} = await ctx.tools.execute({
...options,
calls: [{type: 'tool-call', id: callId, name, arguments: JSON.stringify(args ?? {})}],
});
return results[0].result;
}