The llama.cpp b10080 release addresses two specific bugs in the server and user interface components. The server now correctly returns a 400 status code instead of crashing with a 500 error when validation fails for requests containing the X-Conversation-Id header. Additionally, the UI no longer sends the backend_sampling placeholder, which previously caused default settings completions to fail validation.
- Server: Fixes a std::bad_function_call crash by handling empty next_orig in on_complete() when set_next() is skipped during validation errors.
- Server: Evicts sessions installed by set_req() for failed requests to prevent resource leaks and discovery issues.
- UI: Guards the backend_sampling field with hasValue() to filter out empty string placeholders while preserving explicit false values.
These changes improve stability by preventing server crashes on invalid input and ensuring that default settings are correctly transmitted from the client.