Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanSara committed Sep 4, 2023
1 parent 5ee2aac commit 429a3ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/preview/llm_backends/openai/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def complete_stream(
response = requests.post(url, headers=headers, data=json.dumps(payload), timeout=OPENAI_TIMEOUT, stream=True)
raise_for_status(response=response)

client = sseclient.SSEClient(response)
client = sseclient.SSEClient(response) # type: ignore
event_data = None
tokens = []
try:
Expand Down

0 comments on commit 429a3ae

Please sign in to comment.