Skip to content

fix(runtime): record served optimizer receipt model - #817

Closed
drewstone wants to merge 1 commit into
mainfrom
fix/optimizer-receipt-observed-model-20260812
Closed

fix(runtime): record served optimizer receipt model#817
drewstone wants to merge 1 commit into
mainfrom
fix/optimizer-receipt-observed-model-20260812

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Summary

  • Record the provider-served model in successful profileOptimizerModelCall cost receipts.
  • Preserve the declared model and unknown usage on failed or unproven paths.
  • Add routed snapshot and failed-path regressions.
  • Release as 0.133.3.

Proof

  • pnpm exec vitest run src/runtime/profile-chat-client.test.ts — 18/18 passed.
  • pnpm run lint — passed.
  • pnpm run typecheck — passed.
  • pnpm run check:version-bump — passed.
  • pnpm run docs:freshness — passed.
  • pnpm run verify:package — passed.

@tangletools tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved drewstone PR — 7fa07b5f

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-08-13T04:41:57Z

@drewstone

Copy link
Copy Markdown
Contributor Author

Superseded by PR #816, which contains the same fix plus the stricter failed-path observed-model check.

@drewstone drewstone closed this Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants