Skip to content

Commit

Permalink
move parenthesis (#3788)
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Fontanier <[email protected]>
  • Loading branch information
fontanierh and Henry Fontanier authored Feb 16, 2024
1 parent cb1f907 commit 292e7eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions front/lib/api/assistant/actions/retrieval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,9 @@ export async function renderRetrievalActionsByModelId(
for (const id of ids) {
const action = actionById[id];
const documentRows = documentRowsByActionId[id] ?? [];
const chunkRows =
documentRows.flatMap((d) => chunkRowsByDocumentId[d.id]) ?? [];
const chunkRows = documentRows.flatMap(
(d) => chunkRowsByDocumentId[d.id] ?? []
);

let relativeTimeFrame: TimeFrame | null = null;
if (action.relativeTimeFrameDuration && action.relativeTimeFrameUnit) {
Expand Down

0 comments on commit 292e7eb

Please sign in to comment.