In default_request_handler._createRequestContext we have this code block:
// Ensure contextId is present
const messageForContext = { ...incomingMessage };
if (!messageForContext.contextId) {
messageForContext.contextId = task?.contextId || uuidv4();
}
const contextId = incomingMessage.contextId || uuidv4();
If there is no previous context id and no previous task, different context ids will be created. Is there a reason for this?
In
default_request_handler._createRequestContextwe have this code block:If there is no previous context id and no previous task, different context ids will be created. Is there a reason for this?