Skip to content

Commit 95aa687

Browse files
committed
fix example test
1 parent 6c1178e commit 95aa687

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_examples.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,12 @@ async def model_logic( # noqa: C901
698698
FilePart(content=BinaryImage(data=b'fake', media_type='image/png', identifier='wide-axolotl-city')),
699699
]
700700
)
701+
elif m.content == 'Generate a high-resolution wide landscape illustration of an axolotl.':
702+
return ModelResponse(
703+
parts=[
704+
FilePart(content=BinaryImage(data=b'fake', media_type='image/png', identifier='high-res-axolotl')),
705+
]
706+
)
701707
elif m.content == 'Generate a chart of y=x^2 for x=-5 to 5.':
702708
return ModelResponse(
703709
parts=[

0 commit comments

Comments
 (0)