From 676e6b8818e032da2774e588bc1db5e281f7b644 Mon Sep 17 00:00:00 2001 From: Dong SHIN Date: Sat, 14 Dec 2024 22:06:22 +0900 Subject: [PATCH] test: change wrong to Expected Schema --- python/openai/tests/test_chat_completions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/openai/tests/test_chat_completions.py b/python/openai/tests/test_chat_completions.py index 7e33085586..401601c526 100644 --- a/python/openai/tests/test_chat_completions.py +++ b/python/openai/tests/test_chat_completions.py @@ -104,7 +104,7 @@ def test_chat_completions_user_prompt_dict(self, client, model: str): messages = [ { "role": "user", - "content": {"type": "text", "text": "What is machine learning?"}, + "content": [{"type": "text", "text": "What is machine learning?"}], } ]