mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
update generate response
This commit is contained in:
committed by
Jeffrey Morgan
parent
2c80eddd71
commit
dd960d1d5e
@@ -36,11 +36,3 @@ type GenerateRequest struct {
|
||||
type GenerateResponse struct {
|
||||
Response string `json:"response"`
|
||||
}
|
||||
|
||||
type TokenResponse struct {
|
||||
Choices []TokenResponseChoice `json:"choices"`
|
||||
}
|
||||
|
||||
type TokenResponseChoice struct {
|
||||
Text string `json:"text"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user