diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..d955174c --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,22 @@ +# Default owner for the entire repository +* @Finesssee + +# Core proxy logic +/internal/runtime/executor/ @Finesssee +/internal/translator/ @Finesssee +/sdk/ @Finesssee + +# Authentication providers +/internal/auth/ @Finesssee + +# API and middleware +/internal/api/ @Finesssee + +# WebUI dashboard +/webui/ @Finesssee + +# CI/CD and infrastructure +/.github/ @Finesssee +/Dockerfile @Finesssee +/docker-compose.yml @Finesssee +/.goreleaser.yml @Finesssee diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..138ab9c2 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,21 @@ +## Description + + + +## Changes + + +- + +## Testing + + +- [ ] `go test ./...` passes +- [ ] `go vet ./...` passes +- [ ] Manually tested with relevant provider(s) + +## Checklist + +- [ ] Code follows existing patterns and conventions +- [ ] No secrets or credentials committed +- [ ] No changes under `internal/translator/` (restricted path) diff --git a/internal/api/server.go b/internal/api/server.go index 5daefc99..a05b99b1 100644 --- a/internal/api/server.go +++ b/internal/api/server.go @@ -338,6 +338,11 @@ func (s *Server) setupRoutes() { v1beta.GET("/models/*action", geminiHandlers.GeminiGetHandler) } + // Health check endpoint + s.engine.GET("/health", func(c *gin.Context) { + c.JSON(http.StatusOK, gin.H{"status": "ok"}) + }) + // Root endpoint s.engine.GET("/", func(c *gin.Context) { c.JSON(http.StatusOK, gin.H{