From da9c03355cb82bfdade78a5398a54b6c3d8c850f Mon Sep 17 00:00:00 2001 From: vinid Date: Sun, 28 Jul 2024 16:41:21 -0400 Subject: [PATCH] fixing errors --- tests/test_basics.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test_basics.py b/tests/test_basics.py index ac5225c..dba4fa6 100644 --- a/tests/test_basics.py +++ b/tests/test_basics.py @@ -175,11 +175,13 @@ def test_multimodal(): with pytest.raises(AttributeError): response = LLMCall(engine=engine)([text, image_variable]) - # this is just to check the content, we can't really have int variables but + # this is just to check the content, we can't really have double variables but # it's just for testing purposes + with pytest.raises(AssertionError): - response = MultimodalLLMCall(engine=engine)([Variable(4, role_description="tst"), - Variable(5, role_description="tst")]) + response = MultimodalLLMCall(engine=engine)([Variable(4.2, role_description="tst"), + Variable(5.5, role_description="tst")]) + def test_multimodal_from_url(): from textgrad import Variable