Skip to content

fix(agentchat): preserve TextMentionTermination sources across compon… - #8314

Open
ZhengQiangZhang (LeonZhang778) wants to merge 1 commit into
microsoft:mainfrom
LeonZhang778:fix/text-mention-termination-sources-roundtrip
Open

ZhengQiangZhang (LeonZhang778) wants to merge 1 commit into
microsoft:mainfrom
LeonZhang778:fix/text-mention-termination-sources-roundtrip

Conversation

@LeonZhang778

Copy link
Copy Markdown

…ent roundtrip

Fixes #8282

TextMentionTerminationConfig only persisted 'text', so dump_component()/load_component() silently dropped the 'sources' filter and the restored condition matched messages from any agent.

Add 'sources' to the config schema and include it in _to_config()/_from_config().

Why are these changes needed?

Related issue number

Checks

…ent roundtrip

Fixes microsoft#8282

TextMentionTerminationConfig only persisted 'text', so
dump_component()/load_component() silently dropped the 'sources'
filter and the restored condition matched messages from any agent.

Add 'sources' to the config schema and include it in
_to_config()/_from_config().

This branch has not been deployed

No deployments
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.

TextMentionTermination(sources=...) drops sources on dump_component / load_component

1 participant