Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ generateTaskID
Function
generateTaskID
pkg/tools/long_running.go:297–299 ·
view source on GitHub ↗
generateTaskID 生成任务 ID
()
Source
from the content-addressed store, hash-verified
295
296
// generateTaskID 生成任务 ID
297
func
generateTaskID() string {
298
return
"task_"
+ uuid.New().String()
299
}
300
301
// BaseLongRunningTool 长时运行工具的基础实现
302
// 可以嵌入到具体工具中
Callers
1
StartAsync
Method · 0.70
Calls
1
String
Method · 0.45
Tested by
no test coverage detected