Update deployment docs and media library UI

This commit is contained in:
ShukeBta
2026-05-28 17:32:55 +08:00
parent 68a5a1e3c0
commit b5f1f1954e
33 changed files with 1667 additions and 874 deletions
+1 -5
View File
@@ -72,10 +72,6 @@ func aiRecommendHandler(svc *service.Container) gin.HandlerFunc {
func aiStatusHandler(svc *service.Container) gin.HandlerFunc {
return func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"enabled": svc.AI.Enabled(),
"provider": svc.Cfg.AI.Provider,
"model": svc.Cfg.AI.Model,
})
c.JSON(http.StatusOK, svc.AI.Status(c.Request.Context()))
}
}