Remove AI summaries and semantic searches

We were not using either. We can restore if we revisit.
This commit is contained in:
Jorge Manrubia
2025-10-29 11:55:32 +01:00
parent 23c889e564
commit aa1ffb3357
44 changed files with 25 additions and 66474 deletions
@@ -1,35 +0,0 @@
require "test_helper"
class Admin::PromptSandboxesControllerTest < ActionDispatch::IntegrationTest
setup do
sign_in_as :kevin
end
test "show renders the form with default prompt" do
get admin_prompt_sandbox_path
assert_response :success
end
test "create processes prompt and renders show with summary" do
post admin_prompt_sandbox_path, params: { prompt: "Test prompt for summarization" }
assert_response :redirect
end
test "non-staff user gets forbidden on show" do
users(:kevin).update! email_address: "kevin@hey.com"
get admin_prompt_sandbox_path
assert_response :forbidden
end
test "non-staff user gets forbidden on create" do
users(:kevin).update! email_address: "kevin@hey.com"
post admin_prompt_sandbox_path, params: { prompt: "Test prompt for summarization" }
assert_response :forbidden
end
end