Skip to content
File

Blob: src/cloudflare/internal/test/aig/aig-api-test.py

python10 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.gateway("my-gateway").getLog("my-log-123")
8 assert resp.cached is False
9 assert resp.model == "string"