Skip to content
File

Blob: src/cloudflare/internal/test/to-markdown/to-markdown-api-test.py

python11 lines
1# Copyright (c) 2024 Cloudflare, Inc.
2# Licensed under the Apache 2.0 license found in the LICENSE file or at:
3# https://opensource.org/licenses/Apache-2.0
4 
5 
6async def test(context, env):
7 resp = await env.ai.toMarkdown().supported()
8 assert len(resp) == 2
9 assert resp[0].extension == ".md"
10 assert resp[1].extension == ".png"