Save changes

This commit is contained in:
James Hush
2025-09-17 11:09:03 +08:00
parent 54c8f336c3
commit 0421d97954
2 changed files with 89 additions and 27 deletions

View File

@@ -17,6 +17,7 @@ Requirements:
import os
import random
from typing import Any
# Import agents SDK for tools and agent creation
from agents import Agent, function_tool
@@ -119,7 +120,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
)
# Create tools for the agent
tools = [
tools: list[Any] = [
get_weather,
get_random_fact,
]