Skip to content
Snippets Groups Projects
Unverified Commit 7a78ad39 authored by Timothy Carambat's avatar Timothy Carambat Committed by GitHub
Browse files

Apply workspace topN to agent call (#1779)

resolves #1777
parent 4afdf846
No related branches found
No related tags found
No related merge requests found
...@@ -94,6 +94,7 @@ const memory = { ...@@ -94,6 +94,7 @@ const memory = {
namespace: workspace.slug, namespace: workspace.slug,
input: query, input: query,
LLMConnector, LLMConnector,
topN: workspace?.topN ?? 4,
}); });
if (contextTexts.length === 0) { if (contextTexts.length === 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment