fix run.py demo

This commit is contained in:
jjyaoao 2025-03-18 14:01:42 +00:00
parent 4da8ecdb20
commit 9874642e9b

View File

@ -135,7 +135,9 @@ def main():
# Construct and run the society
society = construct_society(question)
answer, chat_history, token_count = run_society(society)
import asyncio
answer, chat_history, token_count = asyncio.run(run_society(society))
# Output the result
print(f"\033[94mAnswer: {answer}\033[0m")