Skip to content

Commit

Permalink
feat(nx-dev): only show the first 5 sources in ai chat (#19331)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini authored Sep 28, 2023
1 parent a9a551d commit 87bb11e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nx-dev/util-ai/src/lib/chat-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ export function getListOfSources(
longer_heading: section.longer_heading,
url: url.toString(),
};
});
})
.slice(0, 4);

return result;
}
Expand Down

1 comment on commit 87bb11e

@vercel
Copy link

@vercel vercel bot commented on 87bb11e Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.