mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-07-08 07:12:49 +00:00
FIX: Pass topic to context (#1488)
This commit is contained in:
parent
6247906c13
commit
6f8960e549
@ -38,8 +38,8 @@ module DiscourseAi
|
||||
skip_tool_details: true,
|
||||
feature_name: "translation",
|
||||
messages: [{ type: :user, content: @text }],
|
||||
topic: topic,
|
||||
post: post,
|
||||
topic: @topic,
|
||||
post: @post,
|
||||
)
|
||||
|
||||
structured_output = nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user