refactor(instagram): drop mentions from scrape capability

This commit is contained in:
Anish Sarkar 2026-07-11 03:25:20 +05:30
parent 5cac6612c3
commit 27d22a9a2a
3 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,3 @@
"""``instagram.scrape`` verb: Instagram URLs / search terms → posts, reels, mentions."""
"""``instagram.scrape`` verb: Instagram URLs / search terms → posts, reels."""
from __future__ import annotations

View file

@ -10,8 +10,8 @@ from app.capabilities.instagram.scrape.schemas import ScrapeInput, ScrapeOutput
INSTAGRAM_SCRAPE = Capability(
name="instagram.scrape",
description=(
"Scrape public Instagram posts, reels, or mentions from profile/post/"
"reel URLs, or discover public profiles via search queries."
"Scrape public Instagram posts or reels from profile/post/reel URLs, "
"or discover public profiles via search queries."
),
input_schema=ScrapeInput,
output_schema=ScrapeOutput,

View file

@ -43,9 +43,9 @@ class ScrapeInput(BaseModel):
default="profile",
description="Discovery kind (profile-only; hashtag/place are login-walled).",
)
result_type: Literal["posts", "reels", "mentions"] = Field(
result_type: Literal["posts", "reels"] = Field(
default="posts",
description="Which feed to return. 'mentions' requires profile URLs.",
description="Which feed to return: 'posts' or 'reels'.",
)
newer_than: str | None = Field(
default=None,