diff --git a/assets/javascripts/discourse/connectors/post-text-buttons/ai-helper-options-menu.gjs b/assets/javascripts/discourse/connectors/post-text-buttons/ai-helper-options-menu.gjs index cb3ab9c4..b422e573 100644 --- a/assets/javascripts/discourse/connectors/post-text-buttons/ai-helper-options-menu.gjs +++ b/assets/javascripts/discourse/connectors/post-text-buttons/ai-helper-options-menu.gjs @@ -88,7 +88,7 @@ export default class AIHelperOptionsMenu extends Component { data: { mode: option.value, text: this.args.outletArgs.data.quoteState.buffer, - post_id: 419 + post_id: this.args.outletArgs.data.quoteState.postId } }); } else { diff --git a/db/fixtures/ai_helper/602_stablebeluga2_completion_prompts.rb b/db/fixtures/ai_helper/602_stablebeluga2_completion_prompts.rb index 0f4675e1..937fcf8a 100644 --- a/db/fixtures/ai_helper/602_stablebeluga2_completion_prompts.rb +++ b/db/fixtures/ai_helper/602_stablebeluga2_completion_prompts.rb @@ -151,4 +151,4 @@ CompletionPrompt.seed do |cp| ### Assistant: TEXT -end \ No newline at end of file +end