Skip to content

Commit 2b92bda

Browse files
authored
Fix responses API (#529)
Will need to fix these telemetry events for this API later
1 parent 012aa8f commit 2b92bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/openai/node/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ async function fetchWithInstrumentation(
564564
throw error;
565565
})
566566
.finally(() => {
567-
sendEngineMessagesTelemetry(telemetryService, request.messages!, telemetryData, false, logService);
567+
sendEngineMessagesTelemetry(telemetryService, request.messages ?? [], telemetryData, false, logService);
568568
});
569569
}
570570

0 commit comments

Comments
 (0)