Skip to content

Commit af1412a

Browse files
authored
FIX: Use correct variable for triage personas migration (#34067)
Followup: #34010 and #34066
1 parent 723e134 commit af1412a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/discourse-ai/db/migrate/20250721080444_seed_personas_from_triage_scripts.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def up
4242
model = model.split(":").last if model.start_with?("custom:")
4343

4444
row =
45-
"'#{name}', 'Seeded Persona for an LLM Triage script', FALSE, '#{field["system_prompt"]}', #{temp}, #{field["model"]}, NOW(), NOW()"
45+
"'#{name}', 'Seeded Persona for an LLM Triage script', FALSE, '#{field["system_prompt"]}', #{temp}, #{model}, NOW(), NOW()"
4646

4747
DB.query_single(<<~SQL)&.first
4848
INSERT INTO ai_personas (name, description, enabled, system_prompt, temperature, default_llm_id, created_at, updated_at)

0 commit comments

Comments
 (0)