Code snippets are not working


The code from the code snippet is not shown. I do not see I ever receive it from backend API responses. The code is not visible even in copied assistant response. The code snippet in assistant response prevents from further chatting. Chatting afterwards gives error, thus preventing conversation sharing.

This shared conversation does not contain code snippet with the following tooltip:
“Removed from shared conversation”

3 Likes

Welcome to the forum!

Was not able to reproduce the problem using the 4o-mini model :person_shrugging:

Note: This was done using Windows Desktop ChatGPT app, I don’t think that should matter.

1 Like

I could replicate yesterday and today, it seems that when the 4o quota is done and you start with mini, it works just fine, but when you try later with the regular model you get the problem again. (tried on windows with Brave and Edge)

1 Like

Are you noting that you consider your problem solved?

No, it is happening in all new chats.

As soon as you get an error when it tries to show code, the chat also stops working completely.

2 Likes

The reason for asking if it was solved is the impression was that it was just hitting a quota and waiting resolved the problem. However your latest reply has me confused.

it is the other way around, within the quota does not work and when you hit the quota and switch to the other model that starts working (seems odd, but if you wait and open a new chat, you get the problem, after getting the message that you hit the quota, it works).

1 Like

Could replicate this, code snippets are not working and telling it to print it as plain text ALWAYS gives an instant error.

3 Likes

you can go around this by exhausting the GPT-4o trial and getting it to use GPT-4o mini

Guys, I don’t even have a choice to switch the model to 4o mini.

2 Likes

To reproduce the bug you probably need to install Debian GNU/Linux 12 (GNOME desktop environment) on Lenovo laptop with AMD CPU and have Google Chrome browser and be in Serbia. Note this may not reproduce on virtual machines and emulators. Can you try it?

1 Like

Hello, i’d like to say that I have the same bug here. Code snippets are completley unavaible and the chat seems to be also blocked after the response containing the code (look at my screenshot). In this case I’m on Windows 11 with Chrome and not in Serbia…

2 Likes