diff options
author | Grail Finder <wohilas@gmail.com> | 2025-01-15 16:46:59 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-01-15 16:46:59 +0300 |
commit | 1ea19ba11ec835370399fce9de3954ca2f58829c (patch) | |
tree | 0d613f1418bb04fd03e36146177e952192391923 /models | |
parent | 85f96aa4013f9cedaf333c6d1027fe6d901cf561 (diff) |
Feat (status line): add model name
Diffstat (limited to 'models')
-rw-r--r-- | models/models.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go index bbf1bd0..eb215a6 100644 --- a/models/models.go +++ b/models/models.go @@ -125,3 +125,21 @@ type EmbeddingResp struct { // Object string `json:"object"` // } `json:"data"` // } + +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"` +} |