"""批量获取抖音视频详情。"""
from __future__ import annotations

from functools import wraps
from typing import Any

from agents.find_agent.support.douyin_detail import (
    MAX_DETAIL_ITEMS as MAX_DETAIL_ITEMS,
    douyin_detail as _douyin_detail,
)
from supply_agent.tools import tool


@tool
@wraps(
    _douyin_detail,
    assigned=("__name__", "__qualname__", "__doc__", "__annotations__"),
)
async def douyin_detail(*args: Any, **kwargs: Any) -> str:
    return await _douyin_detail(*args, **kwargs)
