Implement instance log management

This commit is contained in:
2025-07-19 18:59:58 +02:00
parent 7c2192a48d
commit 604d7ebcc8
3 changed files with 135 additions and 27 deletions

View File

@@ -37,7 +37,7 @@ func SetupRouter(handler *Handler) *chi.Mux {
r.Post("/start", handler.StartInstance()) // Start stopped instance
r.Post("/stop", handler.StopInstance()) // Stop running instance
r.Post("/restart", handler.RestartInstance()) // Restart instance
// r.Get("/logs", handler.GetInstanceLogs()) // Get instance logs
r.Get("/logs", handler.GetInstanceLogs()) // Get instance logs
// Llama.cpp server proxy endpoints (proxied to the actual llama.cpp server)
r.Route("/proxy", func(r chi.Router) {