Skip to content

Commit

Permalink
add printing
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcccsliu committed Mar 30, 2024
1 parent 2faa49d commit e20f460
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified api/utils/llm_providers/__pycache__/openai.cpython-311.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions api/utils/llm_providers/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ async def openai_generate_response(conversation):
content = chunk.choices[0].delta.content
if content is None:
content = ""
print(content)
yield content

0 comments on commit e20f460

Please sign in to comment.