diff --git a/nx-dev/util-ai/src/lib/chat-utils.ts b/nx-dev/util-ai/src/lib/chat-utils.ts index f9c1f477340c2..daba5dcaf0ea6 100644 --- a/nx-dev/util-ai/src/lib/chat-utils.ts +++ b/nx-dev/util-ai/src/lib/chat-utils.ts @@ -77,7 +77,8 @@ export function getListOfSources( longer_heading: section.longer_heading, url: url.toString(), }; - }); + }) + .slice(0, 4); return result; }