mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00
feat: add body to other endpoints
This commit is contained in:
parent
274987712c
commit
e9d0442531
2 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,7 @@ const initializeClient = async ({ req, res, version, endpointOption, initAppClie
|
|||
'OpenAI-Beta': `assistants=${version}`,
|
||||
},
|
||||
user: req.user,
|
||||
body: req.body,
|
||||
});
|
||||
opts.model = azureOptions.azureOpenAIApiDeploymentName;
|
||||
|
||||
|
|
|
@ -84,6 +84,7 @@ const initializeClient = async ({
|
|||
clientOptions.headers = resolveHeaders({
|
||||
headers: { ...headers, ...(clientOptions.headers ?? {}) },
|
||||
user: req.user,
|
||||
body: req.body,
|
||||
});
|
||||
|
||||
clientOptions.titleConvo = azureConfig.titleConvo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue