docs: SenpAI integration log + healthcheck fix

- PROJECT-MASTER-INDEX: add "Зміни 2026-02-09" section (market data + Senpai tool integration)
- docker-compose: senpai-md-consumer healthcheck timeout 5s→10s, retries 3→5

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Apple
2026-02-09 12:55:08 -08:00
parent 0555ee9fa6
commit 6e0887abcd
2 changed files with 27 additions and 3 deletions

View File

@@ -162,6 +162,30 @@ python3 tools/agents smoke --id <agent_id> # Smoke test
---
## 🛠️ Зміни 2026-02-09
### ✅ SenpAI Market Data Integration
**Що зроблено:**
1. **Market Data Pipeline deployed на NODE1:**
- `dagi-market-data-node1` (порт 8893) — Binance + Bybit WS, SQLite, NATS
- `dagi-senpai-md-consumer-node1` (порт 8892) — features, signals, alerts
2. **Tool `market_data` інтегровано в Router:**
- Файл: `services/router/tool_manager.py` — новий tool PRIORITY 7
- Файл: `services/router/agent_tools_config.py` — Senpai має `["market_data"]`
- Senpai може запитувати real-time ціни та аналітику через tool call
3. **Промпт Senpai оновлено:**
- Файл: `gateway-bot/senpai_prompt.txt`
- Додано опис `market_data` tool з прикладами використання
- Змінено порядок пошуку: market_data → web_search → memory_search
4. **SOWA:** працює штатно — в груповому чаті потрібно звертатись по імені ("Сенпай", "Gordon", "@SenpAI_agent_bot")
---
## 🛠️ Зміни 2026-01-29
### ✅ UNIFIED AGENT REGISTRY (Major Update)
@@ -341,4 +365,4 @@ curl http://localhost:8892/metrics
---
**Автор:** Cursor Agent
**Останнє оновлення:** 2026-02-09
**Останнє оновлення:** 2026-02-09 (market data integration)