mirror of
https://github.com/ollama/ollama.git
synced 2026-04-23 17:29:54 +02:00
error handling
This commit is contained in:
@@ -457,7 +457,8 @@ type GenerateResponse struct {
|
||||
}
|
||||
|
||||
type WhisperCompletion struct {
|
||||
Text string `json:"text"`
|
||||
Text string `json:"text"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
// ModelDetails provides details about a model.
|
||||
|
||||
Reference in New Issue
Block a user