Skip to content

fix(router): allow tier upgrades despite cache cost - #595

Closed
lcp2021211 wants to merge 1 commit into
OpenBMB:mainfrom
lcp2021211:fix-router-cache-upgrade
Closed

lcp2021211 wants to merge 1 commit into
OpenBMB:mainfrom
lcp2021211:fix-router-cache-upgrade

Conversation

@lcp2021211

@lcp2021211 lcp2021211 commented Sep 16, 2026

Copy link
Copy Markdown

Summary

  • bypass cache-aware cost comparison when the judge requests a tier upgrade
  • preserve the existing cache-cost comparison for strict tier downgrades
  • add regression coverage for upgrades and both downgrade outcomes

Superseded by #596

Testing

  • TypeScript build passes on Node.js 22.13.0
  • new cache-aware switching tests: 3 passed
  • router test suite: 20 passed

@lcp2021211 lcp2021211 closed this Sep 16, 2026
@lcp2021211
lcp2021211 deleted the fix-router-cache-upgrade branch September 16, 2026 06:54
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.

1 participant