starsnatched commited on
Commit
c22c463
·
1 Parent(s): 9d47355

Update chat stream query in run.py to display root directory contents

Browse files
Files changed (1) hide show
  1. run.py +3 -1
run.py CHANGED
@@ -10,7 +10,9 @@ async def _main() -> None:
10
  # doc_path = chat.upload_document("test.txt")
11
  # print(f"Document uploaded to VM at: {doc_path}")
12
  # answer = await chat.chat(f"Remove all contents of test.txt and add the text 'Hello, World!' to it.")
13
- async for resp in chat.chat_stream("What is in test.txt file?"):
 
 
14
  print("\n>>>", resp)
15
 
16
 
 
10
  # doc_path = chat.upload_document("test.txt")
11
  # print(f"Document uploaded to VM at: {doc_path}")
12
  # answer = await chat.chat(f"Remove all contents of test.txt and add the text 'Hello, World!' to it.")
13
+ # async for resp in chat.chat_stream("Erase the contents of test.txt and write 'Hello, World!' to it."):
14
+ # async for resp in chat.chat_stream("Verify that the file test.txt exists and contains the text 'Hello, World!'."):
15
+ async for resp in chat.chat_stream("Show me the ls of root directory."):
16
  print("\n>>>", resp)
17
 
18