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
@@ -134,19 +144,51 @@ public static void OnCommandLineAccepted(IReadOnlyList<string> history)
134
144
if(predictor.SupportEarlyProcessing)
135
145
{
136
146
ThreadPool.QueueUserWorkItem<ICommandPredictor>(
137
-
state =>state.StartEarlyProcessing(history),
147
+
state =>state.StartEarlyProcessing(client,history),
148
+
predictor,
149
+
preferLocal:false);
150
+
}
151
+
}
152
+
}
153
+
154
+
/// <summary>
155
+
/// Send feedback to a predictor when one or more suggestions from it were displayed to the user.
156
+
/// </summary>
157
+
/// <param name="client">Represents the client that initiates the call.</param>
158
+
/// <param name="predictorId">The identifier of the predictor whose prediction result was accepted.</param>
159
+
/// <param name="session">The mini-session where the displayed suggestions came from.</param>
160
+
/// <param name="countOrIndex">
161
+
/// When the value is greater than 0, it's the number of displayed suggestions from the list returned in <paramref name="session"/>, starting from the index 0.
162
+
/// When the value is less than or equal to 0, it means a single suggestion from the list got displayed, and the index is the absolute value.
/// <param name="clientId">Represents the client that initiates the call.</param>
60
+
/// <param name="session">The mini-session where the displayed suggestions came from.</param>
61
+
/// <param name="countOrIndex">
62
+
/// When the value is greater than 0, it's the number of displayed suggestions from the list returned in <paramref name="session"/>, starting from the index 0.
63
+
/// When the value is less than or equal to 0, it means a single suggestion from the list got displayed, and the index is the absolute value.
0 commit comments