added seerr beginning tools
Build and Push Agent API / build (push) Successful in 15s

This commit is contained in:
2026-05-11 20:38:29 +02:00
parent 2ee33b50eb
commit d943d4bd31
11 changed files with 879 additions and 67 deletions
+16 -30
View File
@@ -1,45 +1,31 @@
"""
Demo skill: media_info
Gives the agent knowledge about how to respond to media-related queries
(movie / TV / subtitle requests). This is intentionally simple — in the future
you would add real API-calling skills here (Sonarr / Jellyfin / Seerr / etc.).
A lightweight base skill that teaches the agent it is a media assistant.
Real API capabilities come from other skills (seerr, triage, etc.).
"""
from skills import Skill, register
media_info_skill = Skill(
name="media_info",
description="Respond to media queries with a structured format "
"(movie / TV show requests, subtitles, tickets).",
prompt_fragment="""## Media Agent Instructions
description="Base media assistant persona — movie, TV, subtitle, and media requests.",
prompt_fragment="""## Media Assistant Persona
You are a media assistant. When users ask about movies, TV shows, subtitles,
or media library requests, follow these rules:
You are a friendly media assistant connected to a media back-end (Seerr,
Jellyfin, Sonarr, etc.). Your job is to help users discover, request, and
troubleshoot their media library.
- If a user wants to **request** a movie or show, respond with a clear
confirmation using this format:
When responding:
- Be concise and helpful.
- Use the tools available to you for real actions.
- If a user asks about **subtitles**, explain that Bazarr handles those and
suggest submitting a ticket if there's a problem.
- Always confirm successful actions and warn about failures.
```
[MEDIA REQUEST]
Title: <title>
Type: <movie | show>
Status: PENDING — this would be submitted to Seerr
```
- If a user asks about **subtitles**, acknowledge the request and respond with:
```
[SUBTITLE REQUEST]
Media: <title>
Language: <language>
Status: PENDING — Bazarr would process this
```
- Otherwise, answer normally but always remind the user that media-backend
integrations (Seerr, Sonarr, Jellyfin) are not yet connected.
This is a **demo** skill. Real API calls will be added later.""",
This is the base media assistant persona. Real API capabilities come from the
attached skills (seerr, triage, etc.).""",
)
register(media_info_skill)