19 lines
332 B
Python
19 lines
332 B
Python
import asyncio
|
|
|
|
from agent.loop import run_turn
|
|
|
|
|
|
async def run_tui():
|
|
user_message = "what is the answer to life the universe and everythings?"
|
|
message = await run_turn(user_message)
|
|
print(message.content)
|
|
|
|
|
|
def main():
|
|
print("Hello from mycode!")
|
|
asyncio.run(run_tui())
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|