From cf492be96af3e106462830b742882ac555af6062 Mon Sep 17 00:00:00 2001 From: Kim Tran Date: Mon, 17 Jun 2024 17:37:40 -0400 Subject: [PATCH] Update magentic test to assert completion id in the platform --- tests/test_magentic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_magentic.py b/tests/test_magentic.py index f877970..4223520 100644 --- a/tests/test_magentic.py +++ b/tests/test_magentic.py @@ -208,3 +208,4 @@ def _llm() -> str: ... output = _llm() assert isinstance(output, str) + _LogAssertion(completion_id=session.last_completion_id(), message_content=output).assert_chat_response()