opt.: ask ai hint

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-10-19 23:38:08 +08:00
parent d6c2cafce7
commit a84231393d
31 changed files with 1051 additions and 1224 deletions

View File

@@ -214,10 +214,7 @@ class AskAiRepository {
if (localeHint != null && localeHint.isNotEmpty) {
promptBuffer
..writeln('请优先使用用户的语言输出:$localeHint')
..writeln('如果无法判断语言,请使用简体中文。');
} else {
promptBuffer.writeln('如果无法判断语言,请使用简体中文。');
.writeln('请优先使用用户的语言输出:$localeHint');
}
final messages = <Map<String, String>>[