Fix actual_tier never updated from "unknown" in run_agent_task #4

Closed
opened 2026-03-24 01:56:50 +00:00 by alvis · 0 comments
Owner

Problem

In run_agent_task, actual_tier = "unknown" is set but never assigned the real tier after _run_agent_pipeline completes. _log_interaction always logs tier="unknown".

Fix

Wire up tier capture from the pipeline — either yield it as metadata from _run_agent_pipeline, or capture it via another mechanism.

## Problem In `run_agent_task`, `actual_tier = "unknown"` is set but never assigned the real tier after `_run_agent_pipeline` completes. `_log_interaction` always logs `tier="unknown"`. ## Fix Wire up tier capture from the pipeline — either yield it as metadata from `_run_agent_pipeline`, or capture it via another mechanism.
alvis closed this issue 2026-03-24 02:52:44 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alvis/adolf#4