API Playgrond input bug: can't edit <enter> (linefeed) into past messages (solved)

Pretty simple to reproduce:

Send a system message and a user message to chat completions.

Attempt to edit a user or assistant message - you can type letters where an insert is selected, but cannot type a new line. This effectively breaks any function.

An attempt at shift-enter re-sends the entire input.

The only thing that works is copy-pasting that linefeed from elsewhere.

Firefox 135, Windows 10.


Separately:

  • two extra spaces before every linefeed persists in assistant responses, even in gpt-4.5-preview.
  • attempting to highlight large selections of text beyond a page scrolll is frustratingly difficult, losing focus, selecting the wrong text, whether by shift-click, or holding down shift and using arrows to scroll.
  • disabling the switching of message roles within a chat is pointlessly undesired, especially without insertion or re-sort allowed. Automatic alternation of “add” roles for messages is bad behavior.
1 Like

Followed your instructions and just tested on Firefox 135 (and Safari as well) on macOS, and I couldn’t reproduce the bug.

So it could be a Windows version thing.

No, I’m also having this in Chrome on mac. I’m unable to type a newline in the playground at all.

This is fixed in the new assistants-looking playground that doubles for both chat completions and responses endpoints. Thanks.

Tip: shift-enter is required to add a linefeed in “past message” of a preset. otherwise just saves what is there.