create_video_discovery_run.py 525 B

12345678910111213141516171819
  1. """创建视频发现运行。"""
  2. from __future__ import annotations
  3. from functools import wraps
  4. from typing import Any
  5. from agents.find_agent.support.video_discovery import (
  6. create_video_discovery_run as _create_video_discovery_run,
  7. )
  8. from supply_agent.tools import tool
  9. @tool
  10. @wraps(
  11. _create_video_discovery_run,
  12. assigned=("__name__", "__qualname__", "__doc__", "__annotations__"),
  13. )
  14. def create_video_discovery_run(*args: Any, **kwargs: Any) -> str:
  15. return _create_video_discovery_run(*args, **kwargs)