Skip to main content

Terminal commands being printed as italics instead of code

On an o3-mini chat, terminal commands are being printed as italics, instead of code, see the example below. It’s also wrong when I copy it (i.e. spaces are removed)

Status: Completed6 comments

Log in to comment and vote

Comments6

  • Mark Florkowski

    Team

    hmm I am having a hard time reproducing this, do you have a prompt where you are consistently seeing this error?

    It looks like for some reason the terminal commands are being interpreted as math, possibly due to being prefixed with a $, but without being able to reproduce it on my side it is hard to say

    • Copper Eraser

      Hi Mark, this is o3 mini (medium). Here’s the chat link:

      https://t3.chat/chat/3e9f71b1-5c73-4257-b5c3-59c4b481c179

      This was my exactly prompt:

      “I have a websocket running on localhost:3000 on the route ws/onboarding-updates.

      How do I test it out? Maybe in terminal or something”

      • Mark Florkowski

        Team

        I keep getting properly formatted bash codeblocks, including with your prompt

        Do you happen to have any customizations in https://t3.chat/settings/customization ?

        • Copper Eraser

          My customization just says my name and that I’m a software engineer.

          After trying my exact query I do now see bash terminal as well.

          Maybe o3-mini just sent some dollar signs for a bit?

          • Mark Florkowski

            Team

            Yea, since LLMs are non-deterministic it’s hard to say exactly, but I am guessing it just happened to output some formatting our markdown parser did not like :/


            If you happen to fun into this again/more consistently, definitely reopen a report and I can look more into what we can do to prevent it

            • Copper Eraser

              Thank you for looking into it!