Rename ProxyToInstance to InstanceProxy for clarity in routing

This commit is contained in:
2025-10-26 10:22:37 +01:00
parent a7593e9a58
commit 836e918fc5
2 changed files with 3 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ func SetupRouter(handler *Handler) *chi.Mux {
// Llama.cpp server proxy endpoints (proxied to the actual llama.cpp server)
r.Route("/proxy", func(r chi.Router) {
r.HandleFunc("/*", handler.ProxyToInstance()) // Proxy all llama.cpp server requests
r.HandleFunc("/*", handler.InstanceProxy()) // Proxy all llama.cpp server requests
})
})
})