This commit is contained in:
Timothy J. Baek 2024-05-21 20:11:04 -07:00
parent 69d5c25e9d
commit a7238b96b7
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class Pipeline:
r.raise_for_status()
if data["stream"]:
if body["stream"]:
return r.iter_lines()
else:
return r.json()

View File

@ -44,7 +44,7 @@ class Pipeline:
r.raise_for_status()
if data["stream"]:
if body["stream"]:
return r.iter_lines()
else:
return r.json()