Closed SalamanderXing closed 10 months ago
This is weird, content=_dict["content"]
is used in Chainlit <1.0.0. The main branch of the repo is already at 1.0.0 so it should use output (source here). Did you pull the latest main?
My bad! I did but forgot to do a poetry install
before doing poetry shell.
I ran the instructions here to set up the repo for local development. But when I reach the step:
chainlit run chainlit/hello.py
this opens up a page onlocalhost:8000
as usual and when i type something I get:But this I easy fixed by changing 'output' key to 'content'.
Still, when I open up
localhost:5174
(as suggested in the guid) and try to type something there I get another error:This I get regardless of whether I use 'content' or 'output' in
hello.py
. But it's clear from the stack trace that the error does not come from there.