fix: implement provider test endpoint and fix static asset routing
Some checks failed
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled

Added handleTestProvider to dashboard and verified static file mapping for /css, /js, and /img.
This commit is contained in:
2026-03-19 11:19:20 -04:00
parent 1d032c6732
commit 45c2d5e643
2 changed files with 48 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ func (s *Server) setupRoutes() {
admin.GET("/providers", s.handleGetProviders)
admin.PUT("/providers/:name", s.handleUpdateProvider)
admin.POST("/providers/:name/test", s.handleTestProvider)
admin.GET("/models", s.handleGetModels)
admin.GET("/users", s.handleGetUsers)