diff --git a/enterprise/app/models/captain/assistant.rb b/enterprise/app/models/captain/assistant.rb index deb5bb4e6..33027ad59 100644 --- a/enterprise/app/models/captain/assistant.rb +++ b/enterprise/app/models/captain/assistant.rb @@ -69,15 +69,11 @@ class Captain::Assistant < ApplicationRecord } end - def agent(user) - # Get enabled scenario agents as handoff agents - handoff_agents = scenarios.enabled.map { |scenario| scenario.agent(user) } - - # Create the main assistant agent with scenario agents as handoffs + def agent(_user) Agents::Agent.new( name: name, instructions: agent_instructions, - handoff_agents: handoff_agents + model: 'gpt-4.1-mini' ) end