mirror of
https://github.com/microsoft/autogen.git
synced 2026-02-14 05:45:09 -05:00
@@ -66,7 +66,7 @@ async def main() -> None:
|
||||
),
|
||||
)
|
||||
|
||||
run_context = runtime.start()
|
||||
runtime.start()
|
||||
|
||||
# Send a task to the tool user.
|
||||
response = await runtime.send_message(
|
||||
@@ -75,7 +75,7 @@ async def main() -> None:
|
||||
print(response.content)
|
||||
|
||||
# Run the runtime until the task is completed.
|
||||
await run_context.stop()
|
||||
await runtime.stop()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user