feat: claude relay

This commit is contained in:
1808837298@qq.com committed 2025-03-12 21:31:46 +08:00
1 parent 8f2412fb79
commit 78fc3a191c
51 files changed
+1660 -236

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ func SetRelayRouter(router *gin.Engine) {
//http router
httpRouter := relayV1Router.Group("")
httpRouter.Use(middleware.Distribute())
httpRouter.POST("/messages", controller.RelayClaude)
httpRouter.POST("/completions", controller.Relay)
httpRouter.POST("/chat/completions", controller.Relay)
httpRouter.POST("/edits", controller.Relay)