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
* feat: track actual token costs in the reflexion loop
- Adds a centralized token pricing module (`PRICE_PER_MTOK`) with safe placeholder rates.
- Updates `buildRunner` (used across both environments) to accurately aggregate tokens into USD costs according to the defined model pricing.
- Gracefully logs warnings and ignores cost tracking for models absent from the pricing configuration.
- Adapts and expands tests to explicitly simulate cost consumption and proper budget triggering via `getUsage()`.
* feat: track actual token costs in the reflexion loop
- Adds a centralized token pricing module (`PRICE_PER_MTOK`) with safe placeholder rates.
- Updates `buildRunner` (used across both environments) to accurately aggregate tokens into USD costs according to the defined model pricing.
- Gracefully logs warnings and ignores cost tracking for models absent from the pricing configuration.
- Adapts and expands tests to explicitly simulate cost consumption and proper budget triggering via `getUsage()`.
- Fixes evaluator calibration in scripts/reflexion-eval.ts by updating the critic model.
* feat: track actual token costs in the reflexion loop
- Adds a centralized token pricing module (`PRICE_PER_MTOK`) with safe placeholder rates.
- Updates `buildRunner` (used across both environments) to accurately aggregate tokens into USD costs according to the defined model pricing.
- Gracefully logs warnings and ignores cost tracking for models absent from the pricing configuration.
- Adapts and expands tests to explicitly simulate cost consumption and proper budget triggering via `getUsage()`.
- Fixes evaluator calibration in scripts/reflexion-eval.ts by updating the critic model.
0 commit comments