mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
feat: add tool_resources to the productionPrompt for making and getting groups
This commit is contained in:
parent
c0ae6f277f
commit
195d2e2014
1 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ const createGroupPipeline = (query, skip, limit) => {
|
|||
createdAt: 1,
|
||||
updatedAt: 1,
|
||||
'productionPrompt.prompt': 1,
|
||||
'productionPrompt.tool_resources': 1,
|
||||
// 'productionPrompt._id': 1,
|
||||
// 'productionPrompt.type': 1,
|
||||
},
|
||||
|
|
@ -328,6 +329,7 @@ async function getListPromptGroupsByAccess({
|
|||
createdAt: 1,
|
||||
updatedAt: 1,
|
||||
'productionPrompt.prompt': 1,
|
||||
'productionPrompt.tool_resources': 1,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue