chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Tasklist example not working on 1.1.400

Open Reymond190 opened this issue 1 year ago • 0 comments
trafficstars

Tasklist example errors when tried to run. "Object of type Message is not JSON serializable"

Steps to reproduce the behavior:

  1. copy paste the example from https://docs.chainlit.io/api-reference/elements/tasklist
  2. chainlit run app.py

Expected behavior when the example run, caused an error "Object of type Message is not JSON serializable".

Screenshots If applicable, add screenshots to help explain your problem. Screenshot from 2024-07-31 22-04-22

Desktop (please complete the following information):

  • OS: [e.g. iOS]: windows
  • Browser [e.g. chrome, safari]: chrome

Additional context Add any other context about the problem here.

Reymond190 avatar Jul 31 '24 16:07 Reymond190