feat(grammar): expose properties_order (#2662)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-06-26 14:59:02 +02:00 committed by GitHub
parent a8bfb6f9c2
commit 3eaf59021c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View file

@ -42,3 +42,9 @@ func SetPrefix(suffix string) func(*GrammarOption) {
o.Prefix = suffix
}
}
func SetPropOrder(order string) func(*GrammarOption) {
return func(o *GrammarOption) {
o.PropOrder = order
}
}