From 9937b1052cb00a427a048614a9707cf4133b695a Mon Sep 17 00:00:00 2001 From: Nour Date: Wed, 29 Jan 2025 14:35:44 +0100 Subject: [PATCH] Add default_header --- .../autogen-ext/src/autogen_ext/models/openai/config/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/packages/autogen-ext/src/autogen_ext/models/openai/config/__init__.py b/python/packages/autogen-ext/src/autogen_ext/models/openai/config/__init__.py index a6b484780212..1fe0e57eb8cc 100644 --- a/python/packages/autogen-ext/src/autogen_ext/models/openai/config/__init__.py +++ b/python/packages/autogen-ext/src/autogen_ext/models/openai/config/__init__.py @@ -74,6 +74,7 @@ class BaseOpenAIClientConfigurationConfigModel(CreateArgumentsConfigModel): max_retries: int | None = None model_capabilities: ModelCapabilities | None = None # type: ignore model_info: ModelInfo | None = None + default_header: Dict[str, str] | None = None # See OpenAI docs for explanation of these parameters