minchyeom commited on
Commit
4b96179
·
1 Parent(s): 04fe788

refactor: update chat stream command in main function

Browse files
Files changed (1) hide show
  1. run.py +3 -3
run.py CHANGED
@@ -8,10 +8,10 @@ from src.vm import VMRegistry
8
 
9
  async def _main() -> None:
10
  async with TeamChatSession(user="demo_user", session="demo_session") as chat:
11
- doc_path = chat.upload_document("requirements.txt")
12
- print("Document uploaded to:", doc_path)
13
  # async for resp in chat.chat_stream("ask how junior agent is doing"):
14
- async for resp in chat.chat_stream("what is in the requirements.txt file in /data?"):
15
  # async for resp in chat.chat_stream("add transformers package to requirements.txt."):
16
  print("\n>>>", resp)
17
 
 
8
 
9
  async def _main() -> None:
10
  async with TeamChatSession(user="demo_user", session="demo_session") as chat:
11
+ # doc_path = chat.upload_document("requirements.txt")
12
+ # print("Document uploaded to:", doc_path)
13
  # async for resp in chat.chat_stream("ask how junior agent is doing"):
14
+ async for resp in chat.chat_stream("run hello.py"):
15
  # async for resp in chat.chat_stream("add transformers package to requirements.txt."):
16
  print("\n>>>", resp)
17