You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[inference-out] upstream: resolved-route enrichment middleware with a cost-estimator callback #75
agent/tinyagents/routes.rs (194) is mostly ResolvedRouteMiddleware. It emits generation enrichment, records the resolved route, applies :free pricing and calls pricing::lookup. All of that is generic apart from the cost estimator and the run-context slot.
Add, in tinyagents-harness/src/middleware/library/workload.rs:
The host passes agent::cost::estimate_call_cost_usd and its OpenHumanRunContext.resolved_route slot. Inline turn_required_capabilities / route_fallback_policy at their two call sites (turn_exec.rs:556, turn_plan.rs:54).
The listed APIs exist upstream with tests, are released/tagged, and the matching host-adoption leaf can pin them. Gates: the repo's own cargo test, cargo clippy -D warnings and CI.
Agent brief
Files to consider: the rows above; the epic's Evaluation section has each row's reason.
Research: the gaps listed above. Read the cited upstream symbols before writing code.
Workflow: one implementing-an-epic step. Follow OpenHuman's .claude/skills/migrate-to-submodule: upstream PR to the canonical tinyhumansai/<repo>, then tag/release; the OpenHuman gitlink bump and host deletion happen in the matching host-adoption leaf. tinyinference must not depend on tinyagents or OpenHuman.
Activity
senamakel commentedon Oct 19, 2026
Merged in #102 (d102dda). Exact-head hosted checks and fresh parent local gates passed.