Disable usage stats on m1 command. (#4960)

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
This commit is contained in:
afourney 2025-01-09 10:33:56 -08:00 committed by GitHub
parent 3d6d661f7e
commit b07c1662b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ def main() -> None:
async def run_task(task: str, hil_mode: bool) -> None:
client = OpenAIChatCompletionClient(model="gpt-4o")
m1 = MagenticOne(client=client, hil_mode=hil_mode)
await Console(m1.run_stream(task=task))
await Console(m1.run_stream(task=task), output_stats=False)
task = args.task[0]
asyncio.run(run_task(task, not args.no_hil))