From 1ea19ba11ec835370399fce9de3954ca2f58829c Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Wed, 15 Jan 2025 16:46:59 +0300 Subject: Feat (status line): add model name --- models/models.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'models/models.go') 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"` +} -- cgit v1.2.3