From dc6e7cd43029da62dabe2513fb5aa8a34df1bd6d Mon Sep 17 00:00:00 2001 From: historia Date: Tue, 1 Sep 2026 12:12:35 -0400 Subject: fix: spec santizer for glm, outetts, miotts, minimax. --- app/backends/servers.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'app/backends/servers.py') diff --git a/app/backends/servers.py b/app/backends/servers.py index c258398..c0f8f4d 100644 --- a/app/backends/servers.py +++ b/app/backends/servers.py @@ -85,6 +85,18 @@ def _console_progress(event: dict) -> None: print(f"[ERROR] {event['message']}") +def server_log_path(name: str) -> Path: + """The full path of the managed NAME server's log file. + + ``app/logs/-server.log`` (the same file ``start`` streams stdout + and stderr into). Clients use it to surface a server's own runtime + detail — e.g. the exact allocation size a failed ggml graph build + attempted — in their error messages. The audio.cpp server's spec name + is ``"audiocpp"``. + """ + return _log_path(name) + + def _log_path(name: str) -> Path: return LOG_DIR / f"{name}-server.log" -- cgit v1.2.3