-
fix(studio): suppress fatal error when prebuilt manifest is missing (#4799)
发布于
2026-04-02 19:18:11 +00:00 When DEFAULT_PUBLISHED_REPO is ggml-org/llama.cpp, the prebuilt
resolver raises PrebuiltFallback because ggml-org releases do not
include a llama-prebuilt-manifest.json asset. This was caught by the
generic Exception handler and printed as "fatal helper error" to
stderr, which triggers NativeCommandError on PowerShell.Catch PrebuiltFallback separately in the top-level main handler
and exit with EXIT_FALLBACK (code 2) instead of EXIT_ERROR (code 1).
The message is still logged but without the "fatal helper error"
prefix. The shell scripts already handle non-zero exits and fall
back to source builds.Co-authored-by: Daniel Han danielhanchen@users.noreply.github.com
下载附件