feat: protocol and template API endpoints, auto-pipeline on upload

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-03 22:25:52 +05:00
parent 5c009bc368
commit 29e3047792
5 changed files with 216 additions and 0 deletions
+2
View File
@@ -19,6 +19,7 @@ from app.services.recording import (
get_recordings,
get_upload_path,
)
from app.tasks.transcription import transcribe_recording
router = APIRouter(prefix="/api/recordings", tags=["recordings"])
@@ -57,6 +58,7 @@ async def upload_recording(
source=RecordingSource.web,
duration=duration,
)
transcribe_recording.delay(str(recording.id))
return recording