looping chatbot with ephemeral history

This commit is contained in:
2026-02-12 22:29:12 -07:00
parent bc7c5009f9
commit f8a68b9d02
4 changed files with 71 additions and 13 deletions
+2 -4
View File
@@ -1,12 +1,10 @@
import asyncio
from agent.loop import run_turn
from agent.loop import run_session
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)
await run_session()
def main():