(b *testing.B)
| 373 | } |
| 374 | |
| 375 | func 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 | } |
nothing calls this directly
no test coverage detected