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

Function BenchmarkTaskTool_LaunchWithFullOptions

pkg/tools/builtin/task_test.go:375–395  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

373}
374
375func BenchmarkTaskTool_LaunchWithFullOptions(b *testing.B) {
376 if testing.Short() {
377 b.Skip("Skipping full options benchmark in short mode")
378 }
379
380 tool, err := NewTaskTool(nil)
381 if err != nil {
382 b.Fatalf("Failed to create Task tool: %v", err)
383 }
384
385 input := map[string]any{
386 "subagent_type": "general-purpose",
387 "prompt": "Complex benchmark task with detailed requirements",
388 "model": "gpt-4",
389 "timeout_minutes": 10,
390 "priority": 500,
391 "async": true,
392 }
393
394 BenchmarkTool(b, tool, input)
395}

Callers

nothing calls this directly

Calls 2

NewTaskToolFunction · 0.85
BenchmarkToolFunction · 0.85

Tested by

no test coverage detected