858
telemetryModeId: 'custom',
859
applyCodeBlockSuggestionId: undefined,
861
>
lastRequest = model.addRequest(parsedRequest,
862
>
message.variableData ?? { variables: [] },
863
>
0, // attempt
864
>
modeInfo,
865
>
agent,
866
>
undefined, // slashCommand
867
>
undefined, // confirmation
868
>
undefined, // locationData
869
>
undefined, // attachments
870
>
false, // Do not treat as requests completed, else edit pills won't show.
871
>
message.modelId,
872
>
undefined,
873
>
message.id,
874
>
message.isSystemInitiated,
875
>
message.systemInitiatedLabel,
876
>
undefined, // terminalExecutionId
877
>
message.isTerminalRequest,
878
>
message.timestamp ?? null,
879
>
);
880
>
} else {
881
// response
882
if (lastRequest) {