We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29cca52 commit 05b64ceCopy full SHA for 05b64ce
translate.go
@@ -70,6 +70,7 @@ func (t *Translator) Translate(ctx context.Context, params TranslateParams) (str
70
}
71
72
docChunks := chunks.Chunks(params.Document, params.SplitChunks)
73
+
74
result := make([]string, 0, len(docChunks))
75
for _, chunk := range docChunks {
76
translated, err := t.translateChunk(ctx, chunk, params)
0 commit comments