mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-23 02:44:08 +01:00
feat: chat ui and functionality for prompts (auto-send not working)
This commit is contained in:
parent
7c3356e10b
commit
607a5a2fcf
18 changed files with 636 additions and 19 deletions
|
|
@ -118,6 +118,8 @@ export const useCreatePrompt = (
|
|||
},
|
||||
);
|
||||
|
||||
queryClient.invalidateQueries([QueryKeys.files]);
|
||||
|
||||
if (group) {
|
||||
queryClient.setQueryData<t.PromptGroupListData>(
|
||||
[QueryKeys.promptGroups, name, category, pageSize],
|
||||
|
|
@ -163,6 +165,8 @@ export const useAddPromptToGroup = (
|
|||
},
|
||||
);
|
||||
|
||||
queryClient.invalidateQueries([QueryKeys.files]);
|
||||
|
||||
if (onSuccess) {
|
||||
onSuccess(response, variables, context);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue