Skip to content

Commit

Permalink
fix promptId (#2677)
Browse files Browse the repository at this point in the history
  • Loading branch information
colegottdank committed Sep 20, 2024
1 parent c5e5fe1 commit 281cef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/src/lib/managers/AsyncLogManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function logAsync(

let templateWithInputs: TemplateWithInputs | undefined;
try {
if (requestWrapper.heliconeHeaders.promptHeaders.promptId) {
if (heliconeHeaders?.promptHeaders?.promptId) {
const parseResult = parseJSXObject(asyncLogModel.providerRequest.json);
templateWithInputs = parseResult?.templateWithInputs;
}
Expand Down

0 comments on commit 281cef2

Please sign in to comment.