llama.cpp
common : implement common_schema internal representation for JSON schemas
#28736
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
27
Changes
View On
GitHub
common : implement common_schema internal representation for JSON schemas
#28736
aldehir
merged 27 commits into
master
from
alde/refactor-json-schema
github-actions
added
documentation
github-actions
added
testing
github-actions
added
devops
github-actions
added
server
aldehir
marked this pull request as ready for review
3 days ago
aldehir
requested a review
3 days ago
aldehir
requested a review
from
ggerganov
3 days ago
aldehir
requested a review
from
ngxson
3 days ago
aldehir
requested a review
from
pwilkin
3 days ago
aldehir
requested a review
3 days ago
aldehir
requested a review
3 days ago
ngxson
approved these changes on 2026-09-11
ServeurpersoCom
approved these changes on 2026-09-11
aldehir
requested a review
from
ngxson
3 days ago
common : implement common_schema types
8ff43c23
common : implement a json schema optimizer
5088b6d6
common : reduce optimizations
4935133a
common : refactor json-schema-to-grammar to use common_schema
4882c773
common : use common_trie
9e63e52c
common/schema : implement type/kind resolution
426d070d
cont : cleanup
5204e210
cont : remove common_chat_tool_parameters
a4d976df
cont : simplify schema resolution
a838fb4d
cont : pass common_schema through the json-schema-to-grammar builder
78b4c52c
cont : cleanup
e0fc2257
cont : move enums under common_schema and add type enum
797b7298
cont : reduce test cases
1dbf3eef
cont : clean up
c3f104c6
cont : clean up
5abafdef
refactor : rename common_schema_parse to common_schema_from_json
301b0eb5
tests : fix gcc dangling-reference warning in test-json-schema
bdc3a477
tests : take the schema label as const char * to satisfy gcc dangling…
7e0f376c
refactor : rename common_schema_builder parse_* methods to build_*
aca24699
cont : fix may_be_string
50d886a8
cont : properly handle empty tool parameters
f0fd3a81
cont : add tests for empty $ref
c8c25a00
cont : remove dead code
55d9cf07
cont : update docs
cc420daf
cont : make "{}" mean any object for json_object as well
2372064f
cont : restore (min|max)Length to imply string type
a1e2fc9e
cont : rename common_schema to common_chat_schema
3a3f76f2
aldehir
force pushed
from
ca68cb6e
to
3a3f76f2
2 days ago
CISC
approved these changes on 2026-09-12
aldehir
merged
acecd560
into master
2 days ago
pwilkin
commented on 2026-09-12
Login to write a write a comment.
Login via GitHub
Reviewers
CISC
ServeurpersoCom
ngxson
pwilkin
ggerganov
Assignees
No one assigned
Labels
documentation
testing
devops
server
Milestone
No milestone
Login to write a write a comment.
Login via GitHub