Skip to content

[bug] CSS/Tailwind Bug in PromptFiddle #1937

@antoniosarosi

Description

@antoniosarosi

Product

BAML

Describe the bug

Sometimes the rendered prompt in the playground contains Tailwind classes. Examples:

Image

Image

Reproduction Steps

Use one of the code examples from the images above in promptfiddle:

class MaintainFieldOrder {
  a string
  b string
  c string
}

function UseMaintainFieldOrder(input: MaintainFieldOrder) -> MaintainFieldOrder {
  client GPT4
  prompt #"
    Return this value back to me: {{ input }}
  "#
}

test TestName {
  functions [UseMaintainFieldOrder]
  args {
    input {
      a "1"
      b "2"
      c "3"
    }
  }
}

BAML Version

No response

Language/Framework

None

LLM Provider

None

LLM Model

No response

Operating System

None

Browser

None

Code Editor

None

Metadata

Metadata

Assignees

Labels

bugconfirmed by the BAML team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions