Skip to content

Commit 7c550a0

Browse files
committed
Disable chatbot in prod
1 parent b406ab0 commit 7c550a0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/cadet_web/router.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ defmodule CadetWeb.Router do
8080
end
8181

8282
# LLM-related endpoints
83-
scope "/v2/chats", CadetWeb do
84-
pipe_through([:api, :auth, :ensure_auth, :rate_limit])
83+
# scope "/v2/chats", CadetWeb do
84+
# pipe_through([:api, :auth, :ensure_auth, :rate_limit])
8585

86-
post("", ChatController, :init_chat)
87-
post("/:conversationId/message", ChatController, :chat)
88-
end
86+
# post("", ChatController, :init_chat)
87+
# post("/:conversationId/message", ChatController, :chat)
88+
# end
8989

9090
# Authenticated Pages with course
9191
scope "/v2/courses/:course_id", CadetWeb do

0 commit comments

Comments
 (0)