Changeset 0.22.3 (#97)
This commit is contained in:
@@ -403,6 +403,9 @@ func main() {
|
||||
|
||||
// Models (unified resolver — replaces scattered endpoints)
|
||||
modelH := handlers.NewModelHandler(stores)
|
||||
if healthStore != nil {
|
||||
modelH.SetHealthStore(healthStore)
|
||||
}
|
||||
protected.GET("/models/enabled", modelH.ListEnabledModels)
|
||||
protected.GET("/models", modelH.ListEnabledModels) // alias
|
||||
|
||||
|
||||
Reference in New Issue
Block a user