[GH-ISSUE #3236] [FEAT]: Azure OpenAI o1-mini role support #2080

Open
opened 2026-02-22 18:28:04 -05:00 by yindo · 0 comments
Owner

Originally created by @Chunlong101 on GitHub (Feb 16, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3236

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

AnythingLLM v1.7.3-r2 LLM provider doesn't work with Azure OpenAI o1-mini

Are there known steps to reproduce?

  1. Select Azure OpenAI as the LLM provider:
    Image
  2. Input parameters:
    Image
  3. Chat with o1-mini and will get the following error "Could not respond to message. Unsupported value: 'messages[0].role' does not support 'system' with this model":
    Image
  4. Pls note, if I replace "o1-mini" with "gpt-4o-mini" then it works, I have both models deployed on Azure OpenAI.
Originally created by @Chunlong101 on GitHub (Feb 16, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3236 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? AnythingLLM v1.7.3-r2 LLM provider doesn't work with Azure OpenAI o1-mini ### Are there known steps to reproduce? 1. Select Azure OpenAI as the LLM provider: ![Image](https://github.com/user-attachments/assets/17198460-1bbd-4539-a1e9-ceb3c4ae5df4) 2. Input parameters: ![Image](https://github.com/user-attachments/assets/82d0a789-0602-43b6-b2f3-3c59e56f6176) 3. Chat with o1-mini and will get the following error "Could not respond to message. Unsupported value: 'messages[0].role' does not support 'system' with this model": ![Image](https://github.com/user-attachments/assets/295044b9-64ab-43f3-bd3f-3833143df613) 4. Pls note, if I replace "o1-mini" with "gpt-4o-mini" then it works, I have both models deployed on Azure OpenAI.
yindo added the Integration Request label 2026-02-22 18:28:04 -05:00
yindo changed title from [FEAT]: Azure OpenAI o1-mini `role` support to [GH-ISSUE #3236] [FEAT]: Azure OpenAI o1-mini `role` support 2026-06-05 14:44:26 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2080