mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
docs(swagger): enhance coverage of APIs (#2753)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
401ee553f4
commit
f120a0c9f9
3 changed files with 29 additions and 12 deletions
|
@ -155,3 +155,8 @@ type OpenAIRequest struct {
|
|||
// AutoGPTQ
|
||||
ModelBaseName string `json:"model_base_name" yaml:"model_base_name"`
|
||||
}
|
||||
|
||||
type ModelsDataResponse struct {
|
||||
Object string `json:"object"`
|
||||
Data []OpenAIModel `json:"data"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue