Skip to content

Commit

Permalink
fix: fix the chat function case
Browse files Browse the repository at this point in the history
  • Loading branch information
imotai committed Oct 20, 2023
1 parent dfabb5f commit 1ece762
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chat/tests/test_chat_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_handle_final_answer_smoke_test():
respond_content = agent_server_pb2.TaskResponse(
state=task_state,
response_type=agent_server_pb2.TaskResponse.OnModelTypeText,
typing_content="hello world!",
typing_content=agent_server_pb2.TypingContent(content="hello world!", language="text")
)
respond_final = agent_server_pb2.TaskResponse(
state=task_state,
Expand Down
2 changes: 2 additions & 0 deletions kernel/tests/kernel_client_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ async def test_generate_pie_chart(kernel_manager):
if msg:
logger.debug(f"{msg}")
messages.append(msg)

logger.info(f"{messages}")
assert len(list(filter(lambda x: x["msg_type"] == "display_data", messages))) > 0
await asyncio.sleep(2)
await kernel_client.stop_watch()
Expand Down

0 comments on commit 1ece762

Please sign in to comment.