mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00
⬆️ refactor: Enable File Search from Upload Option (#9425)
This commit is contained in:
parent
47aa90df1d
commit
195e1e9eb2
1 changed files with 4 additions and 0 deletions
|
@ -91,6 +91,10 @@ const AttachFileMenu = ({ disabled, conversationId, endpointFileConfig }: Attach
|
|||
label: localize('com_ui_upload_file_search'),
|
||||
onClick: () => {
|
||||
setToolResource(EToolResources.file_search);
|
||||
setEphemeralAgent((prev) => ({
|
||||
...prev,
|
||||
[EToolResources.file_search]: true,
|
||||
}));
|
||||
onAction();
|
||||
},
|
||||
icon: <FileSearch className="icon-md" />,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue