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

Function parse_server_backend

app/server/config.cpp:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 throw std::runtime_error("server max_request_body_bytes must be <= 2^53 - 1");
46 }
47 return static_cast<uint64_t>(parsed);
48}
49
50ServerModelConfig::VoicePreset parse_voice_preset(
51 const std::filesystem::path & base,
52 const engine::io::json::Value & value,
53 const std::string & context) {
54 if (!value.is_object()) {
55 throw std::runtime_error(context + " must be an object");
56 }

Callers 2

load_server_configFunction · 0.85
mainFunction · 0.85

Calls 1

parse_backendFunction · 0.50

Tested by

no test coverage detected