Skip to content

Commit

Permalink
Fix issue where GoLLM Model Comparison response is not properly forma…
Browse files Browse the repository at this point in the history
…tted (#5861)
  • Loading branch information
YohannParis authored Dec 17, 2024
1 parent acae961 commit 916b7ae
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ async function buildJupyterContext() {
}
function hasNonEmptyValue(obj) {
if (!obj) return false;
return Object.values(obj).some((value) => !isEmpty(value));
}
Expand Down Expand Up @@ -513,9 +514,11 @@ const processCompareModels = async () => {
const taskRes = await compareModels(modelIds.value, request, props.node.workflowId, props.node.id);
compareModelsTaskId = taskRes.id;
if (taskRes.status === TaskStatus.Success) {
generateOverview(taskRes.output);
}
const state = cloneDeep(props.node.state);
state.hasRun = true;
emit('update-state', state);
Expand Down

0 comments on commit 916b7ae

Please sign in to comment.