Skip to content

Commit

Permalink
fixing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vinid committed Jul 28, 2024
1 parent 4a5063e commit da9c033
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da9c033

Please sign in to comment.