Commit 6299c41
committed
refactor(decision): replace hardcoded thresholds in buildSystemPrompt with config
完成 @xqliu 的第二處 code review 建議(line 337):
**Changes:**
將 buildSystemPrompt 中的硬編碼閾值改為使用配置規則:
**Before (硬編碼):**
```go
if accountEquity < 20.0 { // ❌ 硬編碼
sb.WriteString(" | BTC/ETH≥12 USDT (1 parent 7616bab commit 6299c41
1 file changed
+16
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
347 | 349 | | |
348 | | - | |
349 | | - | |
| 350 | + | |
| 351 | + | |
350 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
351 | 356 | | |
352 | 357 | | |
353 | 358 | | |
| |||
0 commit comments