mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🔍 feat: Add Entity ID Support for File Search Shared Resources (#5028)
This commit is contained in:
parent
18ad89be2c
commit
d3cafeee96
4 changed files with 38 additions and 22 deletions
|
|
@ -256,7 +256,7 @@ const loadTools = async ({
|
|||
if (toolContext) {
|
||||
toolContextMap[tool] = toolContext;
|
||||
}
|
||||
return createFileSearchTool({ req: options.req, files });
|
||||
return createFileSearchTool({ req: options.req, files, entity_id: agent?.id });
|
||||
};
|
||||
continue;
|
||||
} else if (mcpToolPattern.test(tool)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue