Repository navigation
Correct model-routing attribution for endpoint overrides - #67013
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.
Co-authored-by: SivaKesava1 <11771739+SivaKesava1@users.noreply.github.com>
|
@copilot address the following outstanding work in one pass:
Push the necessary fixes, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved. Use the pr-finisher skill and stop when only human review or CI remains; do not trigger CI. Sous-chef head: f613a2c
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
|
@copilot Tested
The core fix works: before this PR, both Claude runs were recorded as Two remaining gaps:
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Merged the latest |
Co-authored-by: SivaKesava1 <11771739+SivaKesava1@users.noreply.github.com>
…ed-error' into copilot/model-routing-fix-rejected-error # Conflicts: # actions/setup/js/work_queue_documentation.test.cjs Co-authored-by: SivaKesava1 <11771739+SivaKesava1@users.noreply.github.com>
The branch already contained the latest
Pi now records the endpoint it actually configures. Audit and structured logs preserve AWF’s endpoint as |
|
@copilot resolve merge conflicts |
|
@copilot Re-tested
Two gaps remain:
|
…-fix-rejected-error # Conflicts: # pkg/cli/model_routing.go # pkg/cli/model_routing_test.go Co-authored-by: SivaKesava1 <11771739+SivaKesava1@users.noreply.github.com>
Resolved the conflicts in model-routing analysis and tests while preserving both the endpoint metadata and main’s per-agent attribution. Merged latest |
Co-authored-by: SivaKesava1 <11771739+SivaKesava1@users.noreply.github.com>
Co-authored-by: SivaKesava1 <11771739+SivaKesava1@users.noreply.github.com>
Pi now adopts the harness-reported endpoint only after model metadata and proxy requests corroborate it, while Copilot remains strict. Added a test covering both root and |
|
@copilot address the following outstanding work in one pass:
Push the necessary fixes, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved. Use the pr-finisher skill and stop when only human review or CI remains; do not trigger CI. Sous-chef head: 721899b
|
…-fix-rejected-error # Conflicts: # actions/setup/js/work_queue_documentation.test.cjs Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Merged latest |
|
Re-tested
The audit display of @copilot /pr-finisher |
|
|
Ready for review. Sandbox-verified: Claude t01/t10 and pi t10 are now attributed |
|
🎉 This pull request is included in a new release. Release: |
Claude runs could use AWF’s selected model successfully through Claude’s compatible endpoint, yet attribution rejected the route because it checked only AWF’s original endpoint. That hid the routed model and effort from workflow outputs, metadata, logs, and footers.
/reflectwith the same proxy corroboration.aw_info.json; expose both in Go log metadata.For example, a Claude route selected on
/chat/completionscan be attributed through/v1/messageswhen the proxy confirms the endpoint-only deviation:{ "status": "selected", "endpoint": "/v1/messages", "selected_endpoint": "/chat/completions" }