feat: paramterize agent name

This commit is contained in:
Shivam Mishra
2025-10-22 15:52:11 +05:30
parent a509ef826a
commit d45f286f9f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ class Captain::Assistant < ApplicationRecord
private
def agent_name
name
name.parameterize(separator: '_')
end
def agent_tools
+1 -1
View File
@@ -56,7 +56,7 @@ class Captain::Scenario < ApplicationRecord
private
def agent_name
"#{title} Agent".titleize
"#{title} Agent".parameterize(separator: '_')
end
def agent_tools