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

Commit 30e2587

Browse files
committed
DEV: Increase chunk size before splitting content for translation
1 parent 32dc45b commit 30e2587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/translation/content_splitter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module DiscourseAi
44
module Translation
55
class ContentSplitter
6-
CHUNK_SIZE = 3000
6+
CHUNK_SIZE = 10_000
77

88
BBCODE_PATTERNS = [
99
%r{\[table.*?\].*?\[/table\]}m,

0 commit comments

Comments
 (0)