feat: add o3 to model info; update chess example (#5311)

Because.
This commit is contained in:
Eric Zhu
2025-01-31 15:07:14 -08:00
committed by GitHub
parent 69d3af7324
commit cd9dca4740
5 changed files with 21 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ from autogen_core.models import ChatCompletionClient
def create_ai_player() -> AssistantAgent:
# Load the model client from config.
with open("model_config.yml", "r") as f:
with open("model_config.yaml", "r") as f:
model_config = yaml.safe_load(f)
model_client = ChatCompletionClient.load_component(model_config)
# Create an agent that can use the model client.