mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-13 16:44:32 +00:00
fix: extra args not work to disable thinking (#7006)
This commit is contained in:
parent
3107855044
commit
0df6be1fc1
@ -94,7 +94,7 @@ openai_init_kwargs = set(inspect.getfullargspec(AsyncOpenAI.__init__).kwonlyargs
|
|||||||
aopenai_init_kwargs = set(inspect.getfullargspec(AsyncAzureOpenAI.__init__).kwonlyargs)
|
aopenai_init_kwargs = set(inspect.getfullargspec(AsyncAzureOpenAI.__init__).kwonlyargs)
|
||||||
|
|
||||||
create_kwargs = set(completion_create_params.CompletionCreateParamsBase.__annotations__.keys()) | set(
|
create_kwargs = set(completion_create_params.CompletionCreateParamsBase.__annotations__.keys()) | set(
|
||||||
("timeout", "stream")
|
("timeout", "stream", "extra_body")
|
||||||
)
|
)
|
||||||
# Only single choice allowed
|
# Only single choice allowed
|
||||||
disallowed_create_args = set(["stream", "messages", "function_call", "functions", "n"])
|
disallowed_create_args = set(["stream", "messages", "function_call", "functions", "n"])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user