MCPcopy
hub / github.com/mudler/LocalAI / OllamaShowRequest

Struct OllamaShowRequest

core/schema/ollama.go:257–261  ·  view source on GitHub ↗

OllamaShowRequest represents a request to the Ollama Show API

Source from the content-addressed store, hash-verified

255
256// OllamaShowRequest represents a request to the Ollama Show API
257type OllamaShowRequest struct {
258 Name string `json:"name"`
259 Model string `json:"model"`
260 Verbose bool `json:"verbose,omitempty"`
261}
262
263// ModelName implements the LocalAIRequest interface
264func (r *OllamaShowRequest) ModelName(s *string) string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected