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
{{ message }}
Repository navigation
Commit bf12e11
Browse filesBrowse the repository at this point in the historyBrowse files
Model router: on follow-ups, switch to the route the message fits (#346799)
A follow-up used to need two answers before it switched: another route had to fit, and a separate scope answer had to say the work had moved on, with at least 0.7 probability. The scope answer often said "same" for related new work, for example explaining a library and then prototyping a feature in it, so the chat stayed. Follow-ups now follow the routes. A message that clearly fits another route (at least 0.6, leading the current route by at least 0.25) moves the chat. The cooldown and the per-chat switch limit stay.
The scope question is no longer asked. Leaving it out doesn't change any pick in the follow-up eval.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
same: 'The same work as the chat so far, or a small follow-up to it.',
26
-
expanded: 'The work has grown substantially: many more files, harder reasoning, real ambiguity, or the current model is struggling with it.',
27
-
different: 'A different task, unrelated to what the chat has been doing.',
28
-
};
29
-
30
24
/** Without this, the decision model judges a request by its length and routes most of them to the lightest model. */
31
25
constagentFraming='The request goes to an AI coding agent that works in the user\'s repositories with tools: it can read files, run commands and edit code. Judge the work the request needs to be done well, not how short the message is: a short message can start a long investigation.';
32
26
@@ -60,7 +54,7 @@ export class DecisionsModelRouterPicker implements IModelRouterPicker {
0 commit comments