chore: titltize

This commit is contained in:
Shivam Mishra
2025-07-15 14:22:27 +05:30
parent daed6eb1e5
commit 9a81927154
+1 -1
View File
@@ -62,7 +62,7 @@ class Captain::Scenario < ApplicationRecord
def agent(user)
tool_instances = agent_tools.map { |tool| tool.new(assistant, user: user) }
Agents::Agent.new(
name: "#{title} Agent",
name: "#{title} Agent".titleize,
instructions: agent_instructions,
tools: tool_instances
)