Skip to content
Discussion options

You must be logged in to vote
  • what is the purpose of SerializedState and JsonSerializerOptions?

When an AgentThread is serialized for storage, the state of the ChatMessageStore is also serialized with it. In the case of CosmosChatMessageStore the state contains various ids/settings associated with that store instance. See

Taking the JsonSerializerOptions parameter provides support for NativeAOT by allowing source generated serialization configuration.

Since the CosmosDB SDK doesn't support native AOT, there is no v…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ouvreboite
Comment options

@westey-m
Comment options

westey-m Jan 8, 2026
Collaborator

Answer selected by westey-m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants