Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
7.2k stars 945 forks source link

Metadata comes None on on_chat_resume method #1336

Open PabloCaceresRamos opened 2 months ago

PabloCaceresRamos commented 2 months ago

When updating chainlit I have found that the metadata when restoring a conversation comes always as None

dokterbob commented 1 month ago

@PabloCaceresRamos @hayescode Would one of you perhaps help out by providing the specific steps to replicate this problem + a minimal demo app? Or better yet, a PR with a unittest failing on this problem?

hayescode commented 1 month ago

This is probably a code problem, not a problem with the data layer. I successfully return metadata and use it to select/instantiate the chat_profile and even chat settings associated with the thread.

@PabloCaceresRamos can you share the code?

dokterbob commented 1 month ago

@PabloCaceresRamos Poke.