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 52aa865 commit a46fef0Copy full SHA for a46fef0
tests/integration/test_prompts.py
@@ -1,3 +1,5 @@
1
+import json
2
+
3
from humanloop.client import Humanloop
4
5
from tests.integration.conftest import TestIdentifiers
@@ -37,6 +39,7 @@ def test_prompts_call_stream(
37
39
output = ""
38
40
for chunk in response:
41
assert chunk is not None
42
+ chunk = json.loads(chunk)
43
assert chunk.output is not None
44
assert chunk.id is not None
45
assert chunk.prompt_id is not None
0 commit comments