Implemented Investigation Strategy
This commit is contained in:
@@ -53,6 +53,7 @@ function buildUpdateDiagnostics({
|
||||
normalisationsApplied,
|
||||
graph,
|
||||
graphReferenceValidation,
|
||||
selectedQuestion,
|
||||
}) {
|
||||
return {
|
||||
promptVersion: promptVersion ?? "v0.4",
|
||||
@@ -66,6 +67,10 @@ function buildUpdateDiagnostics({
|
||||
errors: [],
|
||||
},
|
||||
normalisationsApplied: normalisationsApplied ?? [],
|
||||
investigationStrategy:
|
||||
selectedQuestion?.investigationStrategy ??
|
||||
selectedQuestion?.strategy ??
|
||||
null,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -284,6 +289,7 @@ async function updateCaseWithDependencies(body, dependencies = {}) {
|
||||
normalisationsApplied: parsedProposal.normalisationsApplied,
|
||||
graph: situationGraph,
|
||||
graphReferenceValidation: graphReferenceValidation,
|
||||
selectedQuestion: null,
|
||||
}),
|
||||
},
|
||||
statusCode:
|
||||
@@ -313,6 +319,7 @@ async function updateCaseWithDependencies(body, dependencies = {}) {
|
||||
normalisationsApplied: parsedProposal.normalisationsApplied,
|
||||
graph: applicationResult.updatedSituationGraph,
|
||||
graphReferenceValidation: applicationResult.graphReferenceValidation,
|
||||
selectedQuestion: applicationResult.selectedQuestion,
|
||||
}),
|
||||
};
|
||||
}
|
||||
@@ -328,6 +335,7 @@ async function updateCaseWithDependencies(body, dependencies = {}) {
|
||||
normalisationsApplied: parsedProposal.normalisationsApplied,
|
||||
graph: situationGraph,
|
||||
graphReferenceValidation,
|
||||
selectedQuestion: null,
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user