We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6405503 commit 0f671eaCopy full SHA for 0f671ea
python/example-pytest-selfie/tests/cache_test.py
@@ -16,7 +16,7 @@ def openai():
16
17
def test_gen_ai():
18
# Fetch the chat response with caching
19
- chat = cache_selfie_json(
+ chat: dict = cache_selfie_json(
20
lambda: openai()
21
.chat.completions.create(
22
model="gpt-4o",
@@ -63,7 +63,7 @@ def test_gen_ai():
63
}
64
}""")
65
# raise ValueError(f"KEYS={chat.keys()} TYPE={type(chat)}")
66
- image_url = cache_selfie_json(
+ image_url: dict = cache_selfie_json(
67
68
.images.generate(
69
model="dall-e-3", prompt=chat["choices"][0]["message"]["content"]
0 commit comments