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
Add automode.routerModelSelection telemetry with actualModel
Emits a new telemetry event after all client-side model overrides
(same-provider, vision fallback, default selection) are applied.
Properties:
- candidateModel: the router's top pick (candidate_models[0])
- actualModel: the model actually used after all overrides
- overrideReason: none, defaultFallback, or clientOverride
- conversationId: for correlation
This enables accurate switch attribution without fragile cross-event
joins. The existing automode.routerDecision event captures the router's
recommendation, but doesn't know what model was ultimately selected
because vision fallback and default selection happen afterward.
Analysts can now query automode.routerModelSelection directly:
| where candidateModel != actualModel
| summarize count() by candidateModel, actualModel
// Emit the final model selection alongside the router's recommendation
219
+
// so analysts can detect overrides without fragile telemetry joins
220
+
if(!skipRouter&&routerResult.candidateModel){
221
+
/* __GDPR__
222
+
"automode.routerModelSelection" : {
223
+
"owner": "aashnagarg",
224
+
"comment": "Reports the router's recommended model vs the actual model used after all client-side overrides (same-provider, vision fallback, default selection)",
"candidateModel": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "comment": "The router's top candidate model (candidate_models[0])" },
227
+
"actualModel": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "comment": "The model actually selected after all client-side overrides" },
228
+
"overrideReason": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "comment": "Why the actual model differs from the candidate: none, visionFallback, defaultFallback, or sameProvider" }
0 commit comments