Skip to content

Fix extra_body silently dropped during load_component()#7421

Open
joaquinhuigomez wants to merge 1 commit intomicrosoft:mainfrom
joaquinhuigomez:fix/extra-body-config-7418
Open

Fix extra_body silently dropped during load_component()#7421
joaquinhuigomez wants to merge 1 commit intomicrosoft:mainfrom
joaquinhuigomez:fix/extra-body-config-7418

Conversation

@joaquinhuigomez
Copy link

@joaquinhuigomez joaquinhuigomez commented Mar 18, 2026

No description provided.

Add extra_body field to CreateArguments (TypedDict) and
CreateArgumentsConfigModel (Pydantic) so that extra_body specified in
JSON config is preserved through the _from_config() / _to_config()
round-trip. Previously, extra_body worked when passed directly to the
constructor but was silently discarded when loading via
load_component() or AutoGen Studio JSON config.

Fixes microsoft#7418
@joaquinhuigomez
Copy link
Author

@microsoft-github-policy-service agree

@joaquinhuigomez joaquinhuigomez force-pushed the fix/extra-body-config-7418 branch from b4922f1 to fe0bcf2 Compare March 24, 2026 20:50
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.

2 participants