Skip to content

fix(tau2): retain canonical tool executions - #4238

Merged
giuliolovisotto merged 2 commits into
mainfrom
glovisotto/tau-tool-observations
Oct 8, 2026
Merged

giuliolovisotto merged 2 commits into
mainfrom
glovisotto/tau-tool-observations

Conversation

@giuliolovisotto

Copy link
Copy Markdown
Contributor

Tau saves native tool requests and results, but Gym currently emits an empty canonical tool list for these rollouts. Project uniquely matched exchanges into agent observations so the collector retains tool IDs, names, request arguments, outputs and native success/error outcomes.

Policy and user-simulator tools belong to separate invocations, including when their tool IDs collide. Requests without results and ambiguous joins remain explicit gaps. The adapter leaves execution timings and invocation completion unknown, and marks its invocation conversations as tool-only excerpts; full model-call ownership, steps and aggregate usage remain follow-up work. Tool execution and scoring logic are unchanged. This uses the existing observation contract without changing shared schemas or Tau dependencies.

Validation:

  • 34 Tau tests passed, including production collector projection, simulator/policy ID collisions, failed/empty/null results, ambiguous or missing joins, and parallel tool results.
  • Fresh native Tau3 Banking BM25+grep success/error probes each saved three canonical tools (two policy, one simulator); all eight tool schema/semantic checks and five tool-witness checks passed. The error probe retained the actual failed KB search. Both probes scored 1.0.
  • One live GPT-4.1 Banking rollout retained both native KB searches with exact IDs, names, outputs and statuses across seven captured model calls. It ended with user_stop and reward 0.0: this is observability smoke evidence, not an accuracy claim.
  • pre-commit run --all-files and focused hooks passed. Broader health remains unobserved because model-call ownership and steps are not supplied by this change.

No separate public issue: this PR describes the bounded missing-observation bug and its validation.

@giuliolovisotto giuliolovisotto added bug Something isn't working area:agent Agent harnesses and Responses API agent behavior labels Oct 8, 2026
@copy-pr-bot

copy-pr-bot Bot commented Oct 8, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@giuliolovisotto
giuliolovisotto marked this pull request as ready for review October 8, 2026 15:24
@giuliolovisotto
giuliolovisotto added this pull request to the merge queue Oct 8, 2026
@yaoyu-33 yaoyu-33 added complexity:low Localized change in one scope with a small, straightforward review surface ready-to-merge PR is approved, current, and waiting for final CI or merge labels Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37802659499

Merged via the queue into main with commit 094411d Oct 8, 2026
39 checks passed
@giuliolovisotto
giuliolovisotto deleted the glovisotto/tau-tool-observations branch October 8, 2026 16:00

This branch was previously deployed

1 inactive deployment
public — f883ee65 Deployed Oct 8, 2026 by copy-pr-bot[bot] via release / finalize / notify #4722
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:agent Agent harnesses and Responses API agent behavior bug Something isn't working complexity:low Localized change in one scope with a small, straightforward review surface ready-to-merge PR is approved, current, and waiting for final CI or merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants