looping chatbot with ephemeral history
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user