From ef8ed0586f7c9c6b1dec4aad8674805bae228365 Mon Sep 17 00:00:00 2001 From: ParthSareen Date: Sat, 7 Dec 2024 20:44:53 -0800 Subject: [PATCH] Fix SO JsonSchema Ref --- llama/llama.go | 1 + 1 file changed, 1 insertion(+) diff --git a/llama/llama.go b/llama/llama.go index 97b58663c..9365d5732 100644 --- a/llama/llama.go +++ b/llama/llama.go @@ -709,6 +709,7 @@ type JsonSchema struct { Required []string `json:"required,omitempty"` Title string `json:"title,omitempty"` Type string `json:"type,omitempty"` + Ref string `json:"$ref,omitempty"` } func (js JsonSchema) AsGrammar() string {