From 8f61c4ab764326468d90565b25bb5559bb4f295b Mon Sep 17 00:00:00 2001 From: Ke Chen Date: Fri, 24 May 2024 15:29:27 +0800 Subject: [PATCH] feat: change routes --- apis/record/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/record/routes.go b/apis/record/routes.go index 08e4bbc..64a400c 100644 --- a/apis/record/routes.go +++ b/apis/record/routes.go @@ -26,5 +26,5 @@ func RegisterRoutes(routes fiber.Router) { routes.Post("/v1/chat/completions", OpenAICreateChatCompletion) // yocsef API - routes.Get("/yocsef/inference", websocket.New(InferYocsefAsyncAPI)) + routes.Get("/ws/yocsef/inference", websocket.New(InferYocsefAsyncAPI)) }