"""更新视频发现运行状态。"""
from __future__ import annotations

from functools import wraps
from typing import Any

from agents.find_agent.support.video_discovery import (
    update_video_discovery_run_status as _update_video_discovery_run_status,
)
from supply_agent.tools import tool


@tool
@wraps(
    _update_video_discovery_run_status,
    assigned=("__name__", "__qualname__", "__doc__", "__annotations__"),
)
def update_video_discovery_run_status(*args: Any, **kwargs: Any) -> str:
    return _update_video_discovery_run_status(*args, **kwargs)
