mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 07:46:59 +00:00
pull models
This commit is contained in:
committed by
Jeffrey Morgan
parent
0833f5af3a
commit
a6494f8211
@@ -18,6 +18,14 @@ func (e Error) Error() string {
|
||||
return e.Message
|
||||
}
|
||||
|
||||
type PullRequest struct {
|
||||
Model string `json:"model"`
|
||||
}
|
||||
|
||||
type PullResponse struct {
|
||||
Response string `json:"response"`
|
||||
}
|
||||
|
||||
type GenerateRequest struct {
|
||||
Model string `json:"model"`
|
||||
Prompt string `json:"prompt"`
|
||||
|
||||
Reference in New Issue
Block a user