aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ChatBox/tools
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2024-08-16 14:17:04 -0400
committerA.J. Shulman <Shulman.aj@gmail.com>2024-08-16 14:17:04 -0400
commitd97405e0a172b03a759452a1e9a7291974d89248 (patch)
tree518908b22b093e64cb5004547199087c2cde9e4f /src/client/views/nodes/ChatBox/tools
parenta88190885c5d22ba6a31e3a7379aaaa2440ae0d4 (diff)
fixed up prompt by fixing examples and also removed link creation in search tool and fixed dangling promise in AM
Diffstat (limited to 'src/client/views/nodes/ChatBox/tools')
-rw-r--r--src/client/views/nodes/ChatBox/tools/SearchTool.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ChatBox/tools/SearchTool.ts b/src/client/views/nodes/ChatBox/tools/SearchTool.ts
index 91ecc71ff..6523fd11c 100644
--- a/src/client/views/nodes/ChatBox/tools/SearchTool.ts
+++ b/src/client/views/nodes/ChatBox/tools/SearchTool.ts
@@ -29,7 +29,7 @@ export class SearchTool extends BaseTool<{ query: string }> {
const data: { type: string; text: string }[] = results.map((result: { url: string; snippet: string }) => {
console.log;
const id = uuidv4();
- this._addLinkedUrlDoc(result.url, id);
+ //this._addLinkedUrlDoc(result.url, id); //not needed right now because it shouldn't use this information to ground responses and should scrape afterwards
return {
type: 'text',
text: `<chunk chunk_id="${id}" chunk_type="text">