MCPcopy Index your code
hub / github.com/SkyworkAI/DeepResearchAgent / ContentPartVideo

Class ContentPartVideo

src/message/types.py:58–67  ·  view source on GitHub ↗

A video content part.

Source from the content-addressed store, hash-verified

56 return f'VideoURL(url={repr(self.url)}, media_type={repr(self.media_type)})'
57
58class ContentPartVideo(BaseModel):
59 """A video content part."""
60 video_url: VideoURL = Field(description="The URL of the video.")
61 type: Literal['video_url'] = Field(default='video_url', description="The type of the content part.") # type: ignore
62
63 def __str__(self) -> str:
64 return str(self.video_url)
65
66 def __repr__(self) -> str:
67 return f'ContentPartVideo(video_url={repr(self.video_url)})'
68
69class ImageURL(BaseModel):
70 """An image URL content part."""

Callers 3

_analyze_video_fileMethod · 0.90
test_videoFunction · 0.90
test_messageFunction · 0.90

Calls

no outgoing calls

Tested by 2

test_videoFunction · 0.72
test_messageFunction · 0.72