8 lines
221 B
Python
8 lines
221 B
Python
from typing import List
|
|
from langchain_core.tools import tool
|
|
from utils import all_agents
|
|
|
|
@tool
|
|
def list_available_agents() -> List[str]:
|
|
"""List all available agents in the system."""
|
|
return all_agents() |