async def start(data: ConnectData):
    """Internal method to start a bot agent and return the room URL and token.

    Args:
        data (ConnectData): The data containing the bot name to use.

    Returns:
        tuple[str, str]: A tuple containing the room URL and token.
    """
    room_url, token = await create_room_and_token()
    launch_bot_func = modal.Function.from_name("pipecat-modal", "bot_runner")
    function_id = launch_bot_func.spawn(room_url, token, data.bot_name)
    bot_jobs[function_id] = (function_id, room_url)

    return room_url, token
Internal method to start a bot agent and return the room URL and token.

    Args:
        data (ConnectData): The data containing the bot name to use.

    Returns:
        tuple[str, str]: A tuple containing the room URL and token.
    
examples/deployment/modal-example/server/app.py