chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Metadata is overwritten on thread update if not explicitly specified

Open asvishnyakov opened this issue 4 months ago • 4 comments
trafficstars

Describe the bug

If metadata is None (which is default value) on update_thread, it will overwrite saved metadata with empty object

https://github.com/aitsc/chainlit/blob/31fe84a212f5a68fd0816f1e259d012c6cfa99e7/backend/chainlit/data/chainlit_data_layer.py#L551

asvishnyakov avatar Jul 11 '25 18:07 asvishnyakov