Spaces:
Runtime error
Runtime error
refactor: update chat stream command in main function
Browse files
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("
|
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 |
|