diff --git a/controller/handleOrchestration.js b/controller/handleOrchestration.js index cdce437..c98e982 100644 --- a/controller/handleOrchestration.js +++ b/controller/handleOrchestration.js @@ -174,7 +174,7 @@ const pollUntilFinished = async (taskId, maxAttempts = 50) => { if (askingTask?.status === "FINISHED") { if (askingTask?.candidates?.length > 0) { return { sql: askingTask.candidates[0].sql, type: "sql" }; - } + } return { sql: null, type: "clarification",