fix: parameterize agent name (#12709)

This commit is contained in:
Shivam Mishra
2025-10-23 13:51:07 +05:30
committed by GitHub
parent 9898ccee9e
commit 74fc9c0321
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ class Captain::Assistant < ApplicationRecord
private
def agent_name
name
name.parameterize(separator: '_')
end
def agent_tools

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