Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ovos_solver_openai_persona/engines.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ def _do_streaming_api_request(self, messages):
break
if "content" not in chunk["choices"][0]["delta"]:
continue
yield chunk["choices"][0]["delta"]["content"]
text = chunk["choices"][0]["delta"]["content"]
if text is not None:
yield text

def get_chat_history(self, system_prompt=None):
"""
Expand Down
Loading