]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Server: Change Invalid Schema from Server Error (500) to User Error (400) (#17572)
authorChad Voegele <redacted>
Tue, 2 Dec 2025 16:33:50 +0000 (10:33 -0600)
committerGitHub <redacted>
Tue, 2 Dec 2025 16:33:50 +0000 (17:33 +0100)
commitc4357dcc35ba3dc6bab1c9db4f49630d261a4353
treef8ca5252e7540fde7c933155b63fb8b9e43f7473
parente148380c7cb92f10dabff939ebfa567dcdadbde0
Server: Change Invalid Schema from Server Error (500) to User Error (400) (#17572)

* Make invalid schema a user error (400)

* Move invalid_argument exception handler to ex_wrapper

* Fix test

* Simplify test back to original pattern
common/chat.cpp
common/json-schema-to-grammar.cpp
tests/test-json-schema-to-grammar.cpp
tools/server/server-common.cpp
tools/server/server.cpp
tools/server/tests/unit/test_chat_completion.py