fix: enforce tool-based data only — Agent can no longer fabricate prices

- System prompt now has absolute rule: no tool result = no price
- Pre-market overview must call search_stock for each major stock
- Index futures explicitly marked as unsupported
- Training data prices explicitly declared outdated and forbidden
- Applied to both CN and EN prompts
This commit is contained in:
shinchan-zhai
2026-03-23 09:28:06 +08:00
parent f37c63f9bb
commit 59e7e37db1
4 changed files with 61 additions and 19 deletions

View File

@@ -30,10 +30,10 @@ func main() {
// Initialize logger
logger.Init(nil)
logger.Info("╔════════════════════════════════════════════════════════════╗")
logger.Info("║ 🚀 NOFXi - AI Trading Agent ║")
logger.Info("║ Powered by NOFX Engine ║")
logger.Info("╚════════════════════════════════════════════════════════════╝")
logger.Info("╔══════════════════════════════════════════════════╗")
logger.Info("║ 🚀 NOFXi - AI Trading Agent ║")
logger.Info("║ Powered by NOFX Engine ║")
logger.Info("╚══════════════════════════════════════════════════╝")
// Initialize global configuration (loaded from .env)
config.Init()