Skip to content

Commit fc252cc

Browse files
alyssachvastacopybara-github
authored andcommitted
Fix bug that topic summary text was just showing up as a promise object
GitOrigin-RevId: 1e643ba3278d14ad09a0ee8fc2342254ad5a4f6d
1 parent 9b65eaa commit fc252cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tasks/summarization_subtasks/topics.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Differences of opinion: ${differencesSummary}
127127
this.additionalInstructions
128128
)
129129
);
130-
return summary + getCommentCitations(commonGroundComments);
130+
return (await summary) + getCommentCitations(commonGroundComments);
131131
}
132132

133133
/**
@@ -144,6 +144,6 @@ Differences of opinion: ${differencesSummary}
144144
this.additionalInstructions
145145
)
146146
);
147-
return summary + getCommentCitations(topDisagreeCommentsAcrossGroups);
147+
return (await summary) + getCommentCitations(topDisagreeCommentsAcrossGroups);
148148
}
149149
}

0 commit comments

Comments
 (0)