Explorar o código

fix: remove required tag for LLMGetNumTokensResponse

Yeuoly hai 8 meses
pai
achega
05b9823016
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      internal/types/entities/model_entities/llm.go

+ 1 - 1
internal/types/entities/model_entities/llm.go

@@ -204,5 +204,5 @@ type LLMResultChunkDelta struct {
 }
 
 type LLMGetNumTokensResponse struct {
-	NumTokens int `json:"num_tokens" validate:"required"`
+	NumTokens int `json:"num_tokens"`
 }