MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / OllamaConfig

Method OllamaConfig

controller/ai-local/iml.go:67–72  ·  view source on GitHub ↗
(ctx *gin.Context)

Source from the content-addressed store, hash-verified

65}
66
67func (i *imlLocalModelController) OllamaConfig(ctx *gin.Context) (*ai_local_dto.OllamaConfig, error) {
68 cfg := i.settingModule.Get(ctx)
69 return &ai_local_dto.OllamaConfig{
70 Address: cfg.OllamaAddress,
71 }, nil
72}
73
74var (
75 client = &http.Client{

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected