From dfa6d58e98585808f3c5337bd7c31f0844f952f7 Mon Sep 17 00:00:00 2001 From: Rodrigo Borba Date: Fri, 27 Feb 2026 11:59:45 -0300 Subject: [PATCH] =?UTF-8?q?refactor:=20Simplifica=20a=20declara=C3=A7?= =?UTF-8?q?=C3=A3o=20da=20classe=20`SystemPromptLeakError`=20e=20adiciona?= =?UTF-8?q?=20o=20coment=C3=A1rio=20`frozen=5Fstring=5Fliteral:=20true`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../errors/captain/errors/system_prompt_leak_error.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/enterprise/app/errors/captain/errors/system_prompt_leak_error.rb b/enterprise/app/errors/captain/errors/system_prompt_leak_error.rb index 542291957..43cd875b2 100644 --- a/enterprise/app/errors/captain/errors/system_prompt_leak_error.rb +++ b/enterprise/app/errors/captain/errors/system_prompt_leak_error.rb @@ -1,6 +1,3 @@ -p -module Captain - module Errors - class SystemPromptLeakError < StandardError; end - end -end +# frozen_string_literal: true + +class Captain::Errors::SystemPromptLeakError < StandardError; end