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

Method IsTerminal

pkg/run/status.go:30–32  ·  view source on GitHub ↗

IsTerminal 判断是否为终止状态

()

Source from the content-addressed store, hash-verified

28
29// IsTerminal 判断是否为终止状态
30func (s Status) IsTerminal() bool {
31 return s == StatusCompleted || s == StatusCancelled || s == StatusError || s == StatusTimeout
32}
33
34// IsActive 判断是否为活跃状态
35func (s Status) IsActive() bool {

Callers 2

executeSingleToolMethod · 0.45
progressTrackingExampleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected