43
return true;
44
}
46
>
const properties: TelemetryProps = event.model_call_id && event.properties.modelCallId === undefined
47
? { ...event.properties, modelCallId: event.model_call_id }
48
: event.properties;
49
const multiplexedProperties = multiplexProperties(properties);
50
if ((destinations & TelemetryDestination.EnhancedGH) && context.restrictedTelemetryEnabled) {
52
>
}
53
if ((destinations & TelemetryDestination.InternalMSFT) && context.isInternal) {
54
this._telemetryService.sendInternalMSFTTelemetryEventForContext(context, eventName, multiplexedProperties, event.metrics);
55
}
57
}
58
}