Skip to content

Commit

Permalink
Fix thor task for Jamie request
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanshean committed Jan 15, 2025
1 parent 8656695 commit 809fbb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/QuillLMS/lib/tasks/gen_ai_tasks.thor
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,8 @@ class GenAITasks < Thor
end

# bundle exec thor gen_a_i_tasks:clone_automl_activity 123 456
desc 'clone_automl_activity 123 456', 'Clone an activity and its prompts to a new activity'
def clone_automl_activity(evidence_activity_id, evidence_research_gen_ai_activity_id)
desc 'clone_automl_activity EVIDENCE_ACTIVITY_ID [EVIDENCE_RESEARCH_GEN_AI_ACTIVITY_ID]', 'Clone an activity and its prompts to a new activity'
def clone_automl_activity(evidence_activity_id, evidence_research_gen_ai_activity_id = nil)
GenAI::CloningOrchestrator.run(evidence_activity_id:, evidence_research_gen_ai_activity_id:)
end

Expand Down

0 comments on commit 809fbb7

Please sign in to comment.