We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 055006f commit b3734fbCopy full SHA for b3734fb
lib/trento_web/router.ex
@@ -239,6 +239,13 @@ defmodule TrentoWeb.Router do
239
post "/", PersonalAccessTokensController, :create_personal_access_token
240
delete "/:token_id", PersonalAccessTokensController, :revoke_personal_access_token
241
end
242
+
243
+ if Application.compile_env!(:trento, :ai)[:enabled] do
244
+ scope "/ai_configuration" do
245
+ post "/", AIConfigurationController, :create_ai_configuration
246
+ patch "/", AIConfigurationController, :update_ai_configuration
247
+ end
248
249
250
251
get "/abilities", AbilityController, :index
0 commit comments