aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/chatbot/tools/SortDocsTool.ts
diff options
context:
space:
mode:
authorsharkiecodes <lanyi_stroud@brown.edu>2025-07-22 21:05:47 -0400
committersharkiecodes <lanyi_stroud@brown.edu>2025-07-22 21:05:47 -0400
commit16e7cfcac3d41bd86ef953f131bb0fecba11f299 (patch)
treea2b91bf30e75e513b4913ac88ec3158e512665cf /src/client/views/nodes/chatbot/tools/SortDocsTool.ts
parent8ff34d5335093c4ff85473227f39b3e83133d999 (diff)
adjusted agent to include UI control tool
Diffstat (limited to 'src/client/views/nodes/chatbot/tools/SortDocsTool.ts')
-rw-r--r--src/client/views/nodes/chatbot/tools/SortDocsTool.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/chatbot/tools/SortDocsTool.ts b/src/client/views/nodes/chatbot/tools/SortDocsTool.ts
index 1944f0bc1..9eb0cf4d1 100644
--- a/src/client/views/nodes/chatbot/tools/SortDocsTool.ts
+++ b/src/client/views/nodes/chatbot/tools/SortDocsTool.ts
@@ -37,7 +37,7 @@ export class SortDocsTool extends BaseTool<typeof parameterRules> {
// We assume the ChatBox itself is currently selected in its parent view.
this._collectionView = collectionView;
this._docManager = docManager;
- this._docManager.initializeFindDocsFreeform();
+ this._docManager.initializeDocuments();
}
async execute(args: ParametersType<typeof parameterRules>): Promise<Observation[]> {