parallel-probe

command
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Diagnostic: measure how often the model emits multiple tool calls per assistant turn. ADK already dispatches a single-message multi-call response concurrently (see google.golang.org/adk/internal/llminternal/base_flow.go:585 handleFunctionCalls — sync.WaitGroup over fnCalls). The remaining question is whether the model produces those multi-call responses in the first place. This probe answers that for a real workflow.

Usage (from the repo root, with Vertex env sourced):

go run ./dev/parallel-probe                       # search task, no nudge
go run ./dev/parallel-probe --nudge               # same task, with batching nudge
go run ./dev/parallel-probe --task=multiread      # baseline: 5 independent reads
go run ./dev/parallel-probe --task=multiread --nudge

Output is a per-turn batch histogram so you can eyeball whether the nudge changes behavior before committing to anything.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL