MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / handle_generic_run

Method handle_generic_run

app/server/runtime.cpp:688–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686 case ArtifactKind::TranscriptAlignment: return "transcript_alignment";
687 case ArtifactKind::DiarizationState: return "diarization_state";
688 case ArtifactKind::VadState: return "vad_state";
689 case ArtifactKind::Custom: return "custom";
690 }
691 return "custom";
692}
693
694double require_ttft_ms(const std::optional<double> & ttft_ms) {
695 if (!ttft_ms.has_value()) {
696 throw std::runtime_error("streaming response produced no TTFT event");
697 }
698 return *ttft_ms;
699}
700

Callers

nothing calls this directly

Calls 5

parseFunction · 0.85
build_request_from_jsonFunction · 0.85
json_responseFunction · 0.85
task_result_jsonFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected