Skip to content

Commit aad31f9

Browse files
committed
Disable chatbot in prod
1 parent 8466108 commit aad31f9

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
@@ -82,12 +82,12 @@ defmodule CadetWeb.Router do
8282
end
8383

8484
# LLM-related endpoints
85-
scope "/v2/chats", CadetWeb do
86-
pipe_through([:api, :auth, :ensure_auth, :rate_limit])
85+
# scope "/v2/chats", CadetWeb do
86+
# pipe_through([:api, :auth, :ensure_auth, :rate_limit])
8787

88-
post("", ChatController, :init_chat)
89-
post("/:conversationId/message", ChatController, :chat)
90-
end
88+
# post("", ChatController, :init_chat)
89+
# post("/:conversationId/message", ChatController, :chat)
90+
# end
9191

9292
# Authenticated Pages with course
9393
scope "/v2/courses/:course_id", CadetWeb do

0 commit comments

Comments
 (0)