Code not formatted correctly with Azure OpenAI o3-mini #6254
Unanswered
rubenaster
asked this question in
Troubleshooting
Replies: 1 comment 6 replies
-
There is discussion on this already, please search existing discussions. https://platform.openai.com/docs/guides/reasoning-best-practices |
Beta Was this translation helpful? Give feedback.
6 replies
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.
-
What happened?
The code-view for user and assistant messages is falsly formatted.
This is my user prompt:
This is what the user prompt UI looks like (HCL code):
I have similar issues with the assistant response. Sometimes the formatting issues look the same, sometimes code isn't formatted at all, like on the following screenshot (HCL code):
Here's another example with code being rendered in the middle of the code for the assistant output (Python code):
Choosing for example Azure GPT-4o-mini doesn't render the user message correct but at least renders the assistant output correct.
Version Information
I'm using Azure App Service with Docker:
librechat/librechat:v0.7.7
from https://index.docker.io
OpenAI API-version '2025-02-01-preview'
o3-mini version: '2025-01-31'
Steps to Reproduce
What browsers are you seeing the problem on?
Microsoft Edge
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions