@@ -59,7 +59,7 @@ func main() {
|
|||||||
|
|
||||||
r.POST("/v1/chat/completions", router.HandleProy)
|
r.POST("/v1/chat/completions", router.HandleProy)
|
||||||
r.GET("/v1/models", router.HandleProy)
|
r.GET("/v1/models", router.HandleProy)
|
||||||
r.GET("/v1/dashboard/billing/credit_grants", router.HandleProy)
|
r.GET("/v1/dashboard/billing/subscription", router.HandleProy)
|
||||||
r.GET("/", func(c *gin.Context) {
|
r.GET("/", func(c *gin.Context) {
|
||||||
c.Writer.WriteHeader(http.StatusOK)
|
c.Writer.WriteHeader(http.StatusOK)
|
||||||
c.Writer.WriteString(`<h1><a href="https://github.com/mirrors2/opencatd-open" >opencatd-open</a> available</h1>Api-Keys:<a href=https://platform.openai.com/account/api-keys >https://platform.openai.com/account/api-keys</a>`)
|
c.Writer.WriteString(`<h1><a href="https://github.com/mirrors2/opencatd-open" >opencatd-open</a> available</h1>Api-Keys:<a href=https://platform.openai.com/account/api-keys >https://platform.openai.com/account/api-keys</a>`)
|
||||||
|
|||||||
Reference in New Issue
Block a user