Skip to content

jinja : add capability check for object args - #20612

Merged
pwilkin merged 1 commit into
ggml-org:masterfrom
aldehir:arguments-cap-check
Mar 16, 2026
Merged

pwilkin merged 1 commit into
ggml-org:masterfrom
aldehir:arguments-cap-check

Conversation

@aldehir

@aldehir aldehir commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Add capability check for tool call arguments as objects.

@pwilkin
pwilkin merged commit 1bbec6a into ggml-org:master Mar 16, 2026
47 of 49 checks passed
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
MrLordCat referenced this pull request in MrLordCat/llama.cpp-rdna-lab Jul 16, 2026
Comment thread common/chat.cpp
}

if (tmpl.original_caps().supports_object_arguments) {
workaround::func_args_not_string(params.messages);

@dcousens dcousens Jul 27, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the JSON is ill-formed, this results in a 500

 {
  "error": {
    "code": 500,
    "message":"Failed to parse tool call arguments as JSON: [json.exception.parse_error.101] parse error at line 1, column 59650: syntax error while parsing value - invalid string: missing closing quote;
...

is that intentional? a 500 for bad syntax seems odd

zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
frostyautumnleaf pushed a commit to frostyautumnleaf/llama.cpp that referenced this pull request Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jinja parser Issues related to the jinja parser

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants