feat: add body to other endpoints

This commit is contained in:
Dustin Healy 2025-08-10 13:27:26 -07:00
parent 274987712c
commit e9d0442531
2 changed files with 2 additions and 0 deletions

View file

@ -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;

View file

@ -84,6 +84,7 @@ const initializeClient = async ({
clientOptions.headers = resolveHeaders({
headers: { ...headers, ...(clientOptions.headers ?? {}) },
user: req.user,
body: req.body,
});
clientOptions.titleConvo = azureConfig.titleConvo;