Skip to content

Invalid expression / Unexpected token when using "Prompt LLM to retry" button #1663

@MarcSkovMadsen

Description

@MarcSkovMadsen
Image

Reproduct

  • Load lumen AI
  • Upload the file

cleaned_penguins_for_vega_from_penguins.csv

  • Ask "Please display the attached file as a table"
  • Click the "Prompt LLM to retry" button just above the SQL: "Filter on male"
  • See the error
Invalid expression / Unexpected token. Line 1, Col: 34.
  SELECT * WHERE "sex" = 'male' �[4mFROM�[0m cleaned_penguins_for_vega_from_penguins
lumen-ai-invalid-expression.mp4

Works if I manually change sql to one line

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions