Quellcode durchsuchen

Fix SO JsonSchema Ref

ParthSareen vor 4 Monaten
Ursprung
Commit
ef8ed0586f
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      llama/llama.go

+ 1 - 0
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 {