b9956

ggml-org/llama.cppb9956Jul 10, 2026by github-actions[bot]same day as b9952

What changed since b9952

low risk

CLI no longer crashes when given an invalid server base URL, exiting gracefully instead.

Improvements

  • CLI server connection errors are now caught and reported gracefully rather than terminating the process.
  • Exception handling covers both JSON parse errors and standard exceptions for a leaner catch scope.

Bug fixes

  • Fixed a crash in llama-cli when connecting to a server with a malformed or unreachable base URL.

Upgrade notes

This is a small incremental build with no config or API changes; a straight binary swap is sufficient. Scripts that previously relied on a hard crash to detect bad server URLs should instead check the CLI's exit status and error output.

Analyzed Oct 24, 2026

Upgrading?

Release notes summary

Fixes a crash in the CLI when connecting to a server with an invalid base URL by implementing graceful exception handling.

Key Highlights

  • Fixed crash on invalid server base URL

New Features

  • Improved error handling for CLI server connection

Release Notes (excerpt)

<details open> cli: fix crash on wrong server base url (#25497) * llama-cli: fix crash on wrong server base url by catching exceptions and graceful exit * review: leaner catch group: json error and standard exception </details> **macOS/iOS:** - macOS Apple Silicon (arm64) - macOS Apple Silicon (arm64, KleidiAI enabled) DISABLED - macOS Intel (x64) - iOS XCFramework **Linux:** - Ubuntu x64 (CPU) - Ubuntu arm64 (CPU) - Ubuntu s390x (CPU) - Ubuntu x64 (Vulkan) - Ubuntu arm64 (Vulkan)…

Published by ggml-org on GitHub.

Read the full release notes

Related Repositories