1910
try {
1911
if (allRequests.length > 1) {
1912
>
const combinedText = allRequests.map(req => req.request.message.text).join('\n\n');
chatServiceImpl.ts
1913
>
// message.text already includes agent/slash-command prefixes from the
1914
>
// original parse, so clear them to avoid double-prefixing.
1915
>
parsedRequest = this.parseChatRequest(model.sessionResource, combinedText, location, {
1916
>
...sendOptions,
1917
>
agentId: undefined,
1918
>
slashCommand: undefined,
1919
>
});
1920
} else {
1921
parsedRequest = firstRequest.request.message;