Skip to content

Conversation

quettabit
Copy link

@quettabit quettabit commented Oct 7, 2025

as Thread is passed to save_thread and given it already has items field, it leads to the following runtime error on the read path:

TypeError: chatkit.types.Thread() got multiple values for keyword argument 'items'

and it happens at:

return Thread(**thread_meta.model_dump(), items=thread_items)

@quettabit quettabit marked this pull request as ready for review October 7, 2025 09:25
@quettabit quettabit changed the title fix incorrect passing of Thread instance to Store.save_thread fix: incorrect passing of Thread instance to Store.save_thread Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant