Skip to content

Commit 3ecda0e

Browse files
committed
Add test to examples
1 parent 9a3d8b0 commit 3ecda0e

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
@@ -678,6 +678,12 @@ async def model_logic( # noqa: C901
678678
FilePart(content=BinaryImage(data=b'fake', media_type='image/png', identifier='160d47')),
679679
]
680680
)
681+
elif m.content == 'Generate a wide illustration of an axolotl city skyline.':
682+
return ModelResponse(
683+
parts=[
684+
FilePart(content=BinaryImage(data=b'fake', media_type='image/png', identifier='wide-axolotl-city')),
685+
]
686+
)
681687
elif m.content == 'Generate a chart of y=x^2 for x=-5 to 5.':
682688
return ModelResponse(
683689
parts=[

0 commit comments

Comments
 (0)