I encountered this error when asking my assistant to generate a response. Here’s my code:
user_message = taskingai.assistant.create_message(
assistant_id=assistant.assistant_id,
chat_id=chat.chat_id,
text="who are you"
)
assistant_message_response = taskingai.assistant.generate_message(
assistant_id=assistant.assistant_id,
chat_id=chat.chat_id,
stream=True,
)
for item in assistant_message_response:
print(item.delta)
Does that mean there’s a chunk of empty data?