Nested preformatted text breaks layout

I asked for the response to include an Instruct template which includes JSON-formatted guidance.

The result was something to the effect of:

``` SYSTEM Some prompt guidance text. ```json { example: “message”} ``` additional guidance text. ```

The inner ```json displayed as text and the closure terminaated the SYSTEM template wrapper, causing the rest of the response to be improperly wrapped.

Here’s an example request to receive the broken response:

Create a SYSTEM prompt I can use to have an AI Assistant help the user build a list of animals by providing some criteria for building the list. Ask questions the narrow down the entries such as fur color, size, habitat, etc. Once you have enough information, generate a JSON-formatted list for the user. Make sure to properly format the JSON and wrap the entire prompt with ```

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
🐛

Bug Reports

Subscribe to post

Get notified by email when there are changes.