feat: allow scenario to access guardrails and guidelines

This commit is contained in:
Shivam Mishra
2025-10-06 09:44:40 +05:30
parent eb86629ece
commit 172ec60854
+1 -1
View File
@@ -38,7 +38,7 @@ class Captain::Scenario < ApplicationRecord
scope :enabled, -> { where(enabled: true) }
delegate :temperature, :feature_faq, :feature_memory, :product_name, to: :assistant
delegate :temperature, :feature_faq, :feature_memory, :product_name, :response_guidelines, :guardrails, to: :assistant
before_save :resolve_tool_references