mirror of
https://github.com/ollama/ollama.git
synced 2025-12-09 01:42:37 +01:00
Token auth (#314)
This commit is contained in:
@@ -98,6 +98,10 @@ type ListResponseModel struct {
|
||||
Size int `json:"size"`
|
||||
}
|
||||
|
||||
type TokenResponse struct {
|
||||
Token string `json:"token"`
|
||||
}
|
||||
|
||||
type GenerateResponse struct {
|
||||
Model string `json:"model"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
|
||||
Reference in New Issue
Block a user