FIX: Pass topic to context (#1488)

This commit is contained in:
Natalie Tay 2025-07-07 14:59:48 +08:00 committed by GitHub
parent 6247906c13
commit 6f8960e549
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,8 +38,8 @@ module DiscourseAi
skip_tool_details: true, skip_tool_details: true,
feature_name: "translation", feature_name: "translation",
messages: [{ type: :user, content: @text }], messages: [{ type: :user, content: @text }],
topic: topic, topic: @topic,
post: post, post: @post,
) )
structured_output = nil structured_output = nil