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

Struct BaseLongRunningTool

pkg/tools/long_running.go:303–307  ·  view source on GitHub ↗

BaseLongRunningTool 长时运行工具的基础实现 可以嵌入到具体工具中

Source from the content-addressed store, hash-verified

301// BaseLongRunningTool 长时运行工具的基础实现
302// 可以嵌入到具体工具中
303type BaseLongRunningTool struct {
304 BaseTool
305
306 executor *LongRunningExecutor
307}
308
309// NewBaseLongRunningTool 创建基础长时运行工具
310func NewBaseLongRunningTool(name, description string, executor *LongRunningExecutor) *BaseLongRunningTool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected