Commit f4f9d13
committed
fix: fix HTML entity handling and improve env prefix consistency
- Update `RecommendedEnvPrefix` from `"AI"` to `"AI_"` for consistency.
- Use `RecommendedEnvPrefix` variable instead of hardcoding `"AI_"` in `env.ParseWithOptions`.
- Add conditional check to print raw output directly if `c.config.Raw` is true in the chat UI.
- Replace HTML entities `>` and `<` with `>` and `<` respectively in `findOriginalUpdateBlocks`.
Signed-off-by: codiing-hui <wecoding@yeah.net>1 parent 60382e7 commit f4f9d13
File tree
3 files changed
+12
-6
lines changed- internal
- options
- ui
- chat
- coders
3 files changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 98 | + | |
102 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
| 247 | + | |
246 | 248 | | |
247 | 249 | | |
248 | 250 | | |
| |||
0 commit comments