pvanand commited on
Commit
2605231
·
verified ·
1 Parent(s): c77ce16

Update aws_aiclient.py

Browse files
Files changed (1) hide show
  1. aws_aiclient.py +1 -0
aws_aiclient.py CHANGED
@@ -70,6 +70,7 @@ class AIClient:
70
 
71
  # Stream the response
72
  async for chunk in self.client.astream(messages):
 
73
  if chunk.content and chunk.content[0].get("text"):
74
  content = chunk.content[0].get("text")
75
  yield content
 
70
 
71
  # Stream the response
72
  async for chunk in self.client.astream(messages):
73
+ print(chunk)
74
  if chunk.content and chunk.content[0].get("text"):
75
  content = chunk.content[0].get("text")
76
  yield content