Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit f26bd32

Browse files
committed
FIX: Pass topic to context
1 parent 6247906 commit f26bd32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/translation/language_detector.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def detect
3838
skip_tool_details: true,
3939
feature_name: "translation",
4040
messages: [{ type: :user, content: @text }],
41-
topic: topic,
42-
post: post,
41+
topic: @topic,
42+
post: @post,
4343
)
4444

4545
structured_output = nil

0 commit comments

Comments
 (0)