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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user