rin
Public Open-source lightweight git hosting.
agents.go · 13 lines · 330 B
Raw
1 package handlers
2
3 import (
4 "github.com/gofiber/fiber/v2"
5 )
6
7 // AgentsPage renders the public guide for AI agents working with this instance.
8 // GET /agents
9 func (h *Handler) AgentsPage(c *fiber.Ctx) error {
10 data := h.baseData(c, "AI agents")
11 data["SiteURL"] = h.siteURL(c)
12 return h.render(c, fiber.StatusOK, "agents", data)
13 }
14