MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / NewToolService

Function NewToolService

internal/desktop/tool_service.go:17–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func NewToolService() *ToolService { return &ToolService{cache: newDetectionCache()} }
18
19// maxDetectionWorkers caps the detection pool. The work is I/O-bound — each
20// probe spends its time waiting on a subprocess — so we run up to one goroutine

Callers 4

ListToolsMethod · 0.85
TestToolServiceListFunction · 0.85
NewServicesFunction · 0.85

Calls 1

newDetectionCacheFunction · 0.85

Tested by 2

TestToolServiceListFunction · 0.68