Commit cc511ce
fix: add system prompt to chat TUI to prevent non-English output
The chat command wasn't sending a system prompt with messages, unlike the
run command which always prepends "You are a helpful AI assistant." Small
bilingual models like Qwen3.5-0.8B would default to Chinese without an
English system prompt to anchor the language.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a39b4f1 commit cc511ce
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
139 | 142 | | |
140 | 143 | | |
141 | 144 | | |
| |||
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
198 | 205 | | |
199 | 206 | | |
200 | 207 | | |
| |||
0 commit comments