Skip to content

Commit f58bced

Browse files
committedFeb 25, 2025
chore(prompt): improve layout instructions for Chinese
1 parent 79d3980 commit f58bced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/prompt.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const languagePrompt = (language: string) => {
2424

2525
if (language === '中文') {
2626
languagePrompt +=
27-
' Add appropriate spaces between Chinese and Latin characters / numbers to improve readability.'
27+
' Add appropriate spaces between Chinese characters and Latin characters/numbers (e.g., "使用Vue组件" -> "使用 Vue 组件", "深度为3" -> "深度为 3"), but do not add spaces between Chinese characters themselves.'
2828
}
2929
return languagePrompt
3030
}

0 commit comments

Comments
 (0)