Skip to content

A programming framework for agentic AI

fix: enable function_calling for o1-2024-12-17 (#6725)

jeongsu-anb9c01d0bc170
diff --git a/python/packages/autogen-ext/src/autogen_ext/models/openai/_model_info.py b/python/packages/autogen-ext/src/autogen_ext/models/openai/_model_info.py
index c26b1b092..433fbbc2d 100644
--- a/python/packages/autogen-ext/src/autogen_ext/models/openai/_model_info.py
+++ b/python/packages/autogen-ext/src/autogen_ext/models/openai/_model_info.py
@@ -88,7 +88,7 @@ _MODEL_INFO: Dict[str, ModelInfo] = {
},
"o1-2024-12-17": {
"vision": False,
- "function_calling": False,
+ "function_calling": True,
"json_output": False,
"family": ModelFamily.O1,
"structured_output": True,
@@ -96,7 +96,7 @@ _MODEL_INFO: Dict[str, ModelInfo] = {
},
"o1-preview-2024-09-12": {
"vision": False,
- "function_calling": False,
+ "function_calling": True,
"json_output": False,
"family": ModelFamily.O1,
"structured_output": True,