[WIP] Fix pi-model-auto-router to retain target thinkingLevelMap #13

Merged
Copilot merged 2 commits from copilot/fix-pi-model-auto-router-thinking-level-map into main 2026-09-22 19:01:35 +08:00
Copilot commented 2026-09-22 17:47:48 +08:00 (Migrated from github.com)
  • Root cause confirmed: routed target models were rebuilding the model without preserving thinkingLevelMap metadata.
  • Fixed the router model builder to keep the target model’s reasoning mapping metadata when constructing the routed target model.
  • Added a focused regression test covering mapped reasoning levels (minimal -> low) on routed provider models.
  • Ran the focused router e2e suite; the reasoning-map regression passes.
  • One unrelated stall-status test in the same file still fails and is outside the scope of this issue-specific fix.
  • Fixes #9
- [x] Root cause confirmed: routed target models were rebuilding the model without preserving `thinkingLevelMap` metadata. - [x] Fixed the router model builder to keep the target model’s reasoning mapping metadata when constructing the routed target model. - [x] Added a focused regression test covering mapped reasoning levels (`minimal -> low`) on routed provider models. - [x] Ran the focused router e2e suite; the reasoning-map regression passes. - [ ] One unrelated stall-status test in the same file still fails and is outside the scope of this issue-specific fix. <!-- START COPILOT CODING AGENT SUFFIX --> - Fixes #9
weisanju (Migrated from github.com) reviewed 2026-09-22 17:47:48 +08:00
Sign in to join this conversation.
No description provided.