Skip to content

Commit f8fb7cd

Browse files
committed
Create LLM with tools
1 parent b1e8dcf commit f8fb7cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bindings/ceylon/examples/llm/task_llm_app.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def main():
7272
]
7373

7474
for question in test_questions:
75-
response:TaskResult = await active_playground.add_and_execute_task(
75+
response: TaskResult = await active_playground.add_and_execute_task(
7676
Task(
7777
name="Calculate",
7878
processor="math_assistant",
@@ -82,6 +82,8 @@ async def main():
8282
print(f"\nQuestion: {question}")
8383
print(f"Response: {response.output}")
8484

85+
await active_playground.finish()
86+
8587

8688
if __name__ == "__main__":
8789
asyncio.run(main())

0 commit comments

Comments
 (0)