MCPcopy Create free account
hub / github.com/astercloud/aster / cancel

Method cancel

client-sdks/client-js/src/resources/eval.ts:84–88  ·  view source on GitHub ↗

* 取消 Eval * @param evalId Eval ID * @returns 更新后的 Eval

(evalId: string)

Source from the content-addressed store, hash-verified

82 * @returns 更新后的 Eval
83 */
84 async cancel(evalId: string): Promise<EvalInfo> {
85 return this.request<EvalInfo>(`/v1/evals/${evalId}/cancel`, {
86 method: "POST",
87 });
88 }
89
90 /**
91 * 删除 Eval

Callers 15

StopMethod · 0.45
StopMethod · 0.45
StopMethod · 0.45
StopMethod · 0.45
ShutdownMethod · 0.45
ShutdownWithTimeoutMethod · 0.45
cleanupActorMethod · 0.45
ShutdownMethod · 0.45
StopMethod · 0.45
handleStopMethod · 0.45
unsubscribeFromAgentMethod · 0.45
unsubscribeAllMethod · 0.45

Calls 1

requestMethod · 0.80

Tested by 1

TearDownTestMethod · 0.36