Azure Assitants runs failing #9298
MoHe99
started this conversation in
Help Wanted
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using Librechat v0.7.9 and have a Deployment inside Azure Cloud. I already implemented Azure OpenAI and other models successfully, but when trying to chat with my Azure OpenAI Assistants, the runs always fail.
What I see in the frontend:
"Something went wrong. Here's the specific error message we encountered: The Assistant run failed"
What I see in the Logs of the API Container:
LibreChat | 2025-08-27T08:26:24.750Z debug: [/assistants/chat/] req.body
LibreChat | {
LibreChat | text: "test",
LibreChat | sender: "User",
LibreChat | clientTimestamp: "2025-08-27T10:26:24",
LibreChat | isCreatedByUser: true,
LibreChat | parentMessageId: "84016ca7-6f8a-4a2a-b6fd-eb1754dcb831",
LibreChat | conversationId: "ffa8e7d7-a0e8-43e9-8f21-78b365720112",
LibreChat | messageId: "8c138a04-a322-44ed-b053-430e6db7b199",
LibreChat | thread_id: "thread_id",
LibreChat | error: false,
LibreChat | endpoint: "azureAssistants",
LibreChat | model: "gpt-4o",
LibreChat | assistant_id: "asst_id",
LibreChat | key: "never",
LibreChat | isTemporary: false,
LibreChat | isRegenerate: false,
LibreChat | isContinued: false,
LibreChat | endpointOption.endpoint: "azureAssistants",
LibreChat | endpointOption.assistant_id: "asst_id",
LibreChat | modelOptions.model: "gpt-4o",
LibreChat | }
LibreChat | 2025-08-27T08:26:25.262Z debug: [saveConvo] api/server/services/Threads/manage.js #saveUserMessage
LibreChat | 2025-08-27T08:26:25.968Z debug: [heartbeat 1] run_id: run_7fRegku6P4gWQGQbGscmtXdq | Retrieving run status...
LibreChat | 2025-08-27T08:26:26.743Z debug: [heartbeat 1] run_id: run_7fRegku6P4gWQGQbGscmtXdq | Elapsed run retrieval time: 774
LibreChat | 2025-08-27T08:26:26.743Z debug: [in_progress] user: 688a30e62f593415ee4c9c53 | thread_id: thread_NorVWGQ63sCsWoywcdZ7lLH2 | run_id: run_7fRegku6P4gWQGQbGscmtXdq
LibreChat | 2025-08-27T08:26:26.743Z debug: [heartbeat 1] user: 688a30e62f593415ee4c9c53 | thread_id: thread_NorVWGQ63sCsWoywcdZ7lLH2 | run_id: run_7fRegku6P4gWQGQbGscmtXdq | status: in_progress
LibreChat | 2025-08-27T08:26:26.746Z error: [/assistants/chat/] Path parameters result in path with invalid segments:
LibreChat | Value of type Undefined is not a valid path parameter
LibreChat | /threads/undefined/run... [truncated]
LibreChat | 2025-08-27T08:26:28.746Z error: [/assistants/chat/] Error cancelling run Path parameters result in path with invalid segments:
LibreChat | Value of type Undefined is not a valid path parameter
LibreChat | /... [truncated]
LibreChat | 2025-08-27T08:26:30.748Z error: [/assistants/chat/] Error fetching or processing run Path parameters result in path with invalid segments:
LibreChat | Value of type Undefined is not a valid path... [truncated]
LibreChat | 2025-08-27T08:26:30.748Z error: [/assistants/chat/] Error finalizing error process Path parameters result in path with invalid segments:
LibreChat | Value of type Undefined is not a valid path p... [truncated]
LibreChat | 2025-08-27T08:26:30.752Z debug: [/assistants/chat/] Request aborted on close
LibreChat | 2025-08-27T08:26:32.754Z error: [/assistants/chat/] Error cancelling run Path parameters result in path with invalid segments:
LibreChat | Value of type Undefined is not a valid path parameter
LibreChat | /... [truncated]
LibreChat | 2025-08-27T08:26:34.755Z error: [/assistants/chat/] Error fetching or processing run Path parameters result in path with invalid segments:
LibreChat | Value of type Undefined is not a valid path... [truncated]
LibreChat | 2025-08-27T08:26:34.755Z error: [/assistants/chat/] Error finalizing error process Path parameters result in path with invalid segments:
LibreChat | Value of type Undefined is not a valid path p... [truncated]
I followed the official Documentation for integrating Azure Assistants, with my librechat.yaml looking as follows:
`version: 1.2.1
cache: true
...
endpoints:
azureOpenAI:
titleModel: "current_model"
assistants: true
groups:
- group: "azure-openai"
apiKey: "${EUC_AZURE_OPENAI_API_KEY}"
instanceName: "${EUC_AZURE_OPENAI_API_INSTANCE_NAME}"
version: "${EUC_AZURE_OPENAI_API_VERSION}"
assistants: true
models:
o4-mini:
deploymentName: o4-mini
gpt-4o:
deploymentName: gpt-4o
gpt-5:
deploymentName: gpt-5
azureAssistants:
pollIntervalMs: 3000
timeoutMs: 180000
supportedIds:
- "asst_id"
capabilities:
- "code_interpreter"
`
My Environment-Variables contain the corresponding values to the variables.
I read, that the OpenAI Assistants API is deprecated. Is it possible, that this feature is abandoned or should Azure Assistants still work?
Would be great, if someone can help me!
Greetings Moritz
Beta Was this translation helpful? Give feedback.
All reactions