Skip to content

Commit 9dc8655

Browse files
committed
PM-2190 Modify GET /v6/workflows/:id/runs/:runId
1 parent 8e70656 commit 9dc8655

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

src/api/ai-workflow/ai-workflow.service.ts

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,28 @@ export class AiWorkflowService {
485485
},
486486
include: {
487487
submission: true,
488+
workflow: {
489+
include: {
490+
llm: {
491+
include: {
492+
provider: true,
493+
},
494+
},
495+
scorecard: {
496+
include: {
497+
scorecardGroups: {
498+
include: {
499+
sections: {
500+
include: {
501+
questions: true,
502+
},
503+
},
504+
},
505+
},
506+
},
507+
},
508+
},
509+
},
488510
},
489511
});
490512

@@ -547,7 +569,7 @@ export class AiWorkflowService {
547569
}
548570
}
549571

550-
return runs.map((r) => ({ ...r, submission: undefined, test: true }));
572+
return runs.map((r) => ({ ...r, submission: undefined }));
551573
}
552574

553575
async updateWorkflowRun(

0 commit comments

Comments
 (0)