소스 검색

Fix SO JsonSchema Ref

ParthSareen 4 달 전
부모
커밋
ef8ed0586f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 {