Fix Typos in Comments and Documentation (#4015)

* Update communityHub.js

* Update memory.js
This commit is contained in:
leopardracer 2025-06-24 19:06:59 +03:00 committed by GitHub
parent c4f49ff6b4
commit 1e1694fcd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ const CommunityHub = {
if (!this.supportedStaticItemTypes.includes(itemType))
return { success: false, error: "Unsupported item type" };
// If the item has specical considerations or preprocessing, we can delegate that below before sending the request.
// If the item has special considerations or preprocessing, we can delegate that below before sending the request.
// eg: Agent flow files and such.
return await fetch(`${this.apiBase}/${itemType}/create`, {

View File

@ -16,7 +16,7 @@ const memory = {
tracker: new Deduplicator(),
name: this.name,
description:
"Search against local documents for context that is relevant to the query or store a snippet of text into memory for retrieval later. Storing information should only be done when the user specifically requests for information to be remembered or saved to long-term memory. You should use this tool before search the internet for information. Do not use this tool unless you are explicity told to 'remember' or 'store' information.",
"Search against local documents for context that is relevant to the query or store a snippet of text into memory for retrieval later. Storing information should only be done when the user specifically requests for information to be remembered or saved to long-term memory. You should use this tool before search the internet for information. Do not use this tool unless you are explicitly told to 'remember' or 'store' information.",
examples: [
{
prompt: "What is AnythingLLM?",