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

Function models

ai-provider/local/executor_test.go:73–80  ·  view source on GitHub ↗
(c *gin.Context)

Source from the content-addressed store, hash-verified

71}
72
73func models(c *gin.Context) {
74 ms, err := ModelsInstalled()
75 if err != nil {
76 c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
77 return
78 }
79 c.JSON(http.StatusOK, gin.H{"models": ms})
80}

Callers

nothing calls this directly

Calls 1

ModelsInstalledFunction · 0.85

Tested by

no test coverage detected