mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
🤖 fix: Azure Assistants, use deploymentName
as Run Model (#2736)
This commit is contained in:
parent
4a5d06a774
commit
8a7f36f581
1 changed files with 1 additions and 0 deletions
|
@ -514,6 +514,7 @@ router.post('/', validateModel, buildEndpointOption, setHeaders, async (req, res
|
|||
|
||||
const processRun = async (retry = false) => {
|
||||
if (req.app.locals[EModelEndpoint.azureOpenAI]?.assistants) {
|
||||
body.model = openai._options.model;
|
||||
openai.attachedFileIds = attachedFileIds;
|
||||
openai.visionPromise = visionPromise;
|
||||
if (retry) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue