diff options
Diffstat (limited to 'models/models.go')
| -rw-r--r-- | models/models.go | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/models/models.go b/models/models.go index 2f4b8b0..a35f16c 100644 --- a/models/models.go +++ b/models/models.go @@ -519,24 +519,6 @@ type OpenAIReq struct { // === -// type LLMModels struct { -// Object string `json:"object"` -// Data []struct { -// ID string `json:"id"` -// Object string `json:"object"` -// Created int `json:"created"` -// OwnedBy string `json:"owned_by"` -// Meta struct { -// VocabType int `json:"vocab_type"` -// NVocab int `json:"n_vocab"` -// NCtxTrain int `json:"n_ctx_train"` -// NEmbd int `json:"n_embd"` -// NParams int64 `json:"n_params"` -// Size int64 `json:"size"` -// } `json:"meta"` -// } `json:"data"` -// } - type LlamaCPPReq struct { Model string `json:"model"` Stream bool `json:"stream"` @@ -641,10 +623,3 @@ type ChatRoundReq struct { Regen bool Resume bool } - -type APIType int - -const ( - APITypeChat APIType = iota - APITypeCompletion -) |
