Skip to content

fix: include extra_body in OpenAI client config model - #8153

Open
MOHAMMED WASIM KHAN (wasim-builds) wants to merge 1 commit into
microsoft:mainfrom
wasim-builds:fix/7418-extra-body-config
Open

MOHAMMED WASIM KHAN (wasim-builds) wants to merge 1 commit into
microsoft:mainfrom
wasim-builds:fix/7418-extra-body-config

Conversation

@wasim-builds

Copy link
Copy Markdown

Summary

Fixes #7418

Previously, extra_body was not included in the config model, causing it to be silently dropped when loaded via AutoGen Studio JSON config.

Changes

  • Added extra_body field to BaseOpenAIClientConfiguration and BaseOpenAIClientConfigurationConfigModel
  • Added test to verify extra_body is serialized/deserialized correctly

Test plan

  • New test passes
  • Existing tests still pass

Previously, extra_body was not included in the config model, causing
it to be silently dropped when loaded via AutoGen Studio JSON config.

Fixes microsoft#7418
Copilot AI lite review requested due to automatic review settings September 2, 2026 05:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@wasim-builds

Copy link
Copy Markdown
Author

Hi everyone,

Quick follow-up on this PR concerning fix: include extra_body in OpenAI client config model in microsoft/autogen. Working on multi-agent orchestration, agent communication, and tool execution in AutoGen has been a great experience, and I am very keen to continue contributing to microsoft/autogen.

I am also open to collaborating on a contract/freelance basis, discussing full-time opportunities, or joining the organization/team.

You can view my background and other open-source contributions at https://github.com/wasim-builds.

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.

extra_body in OpenAIChatCompletionClient config is silently ignored when loaded via AutoGen Studio JSON

2 participants