diff --git a/bindings/ceylon/examples/llm/task_llm_app.py b/bindings/ceylon/examples/llm/task_llm_app.py index c8ff697..b366685 100644 --- a/bindings/ceylon/examples/llm/task_llm_app.py +++ b/bindings/ceylon/examples/llm/task_llm_app.py @@ -72,7 +72,7 @@ async def main(): ] for question in test_questions: - response:TaskResult = await active_playground.add_and_execute_task( + response: TaskResult = await active_playground.add_and_execute_task( Task( name="Calculate", processor="math_assistant", @@ -82,6 +82,8 @@ async def main(): print(f"\nQuestion: {question}") print(f"Response: {response.output}") + await active_playground.finish() + if __name__ == "__main__": asyncio.run(main())