Skip to content

Commit 0df6be1

Browse files
authored
fix: extra args not work to disable thinking (#7006)
1 parent 3107855 commit 0df6be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/packages/autogen-ext/src/autogen_ext/models/openai/_openai_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
aopenai_init_kwargs = set(inspect.getfullargspec(AsyncAzureOpenAI.__init__).kwonlyargs)
9595

9696
create_kwargs = set(completion_create_params.CompletionCreateParamsBase.__annotations__.keys()) | set(
97-
("timeout", "stream")
97+
("timeout", "stream", "extra_body")
9898
)
9999
# Only single choice allowed
100100
disallowed_create_args = set(["stream", "messages", "function_call", "functions", "n"])

0 commit comments

Comments
 (0)