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:
@@ -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
|
## 🛠️ Зміни 2026-01-29
|
||||||
|
|
||||||
### ✅ UNIFIED AGENT REGISTRY (Major Update)
|
### ✅ UNIFIED AGENT REGISTRY (Major Update)
|
||||||
@@ -341,4 +365,4 @@ curl http://localhost:8892/metrics
|
|||||||
---
|
---
|
||||||
|
|
||||||
**Автор:** Cursor Agent
|
**Автор:** Cursor Agent
|
||||||
**Останнє оновлення:** 2026-02-09
|
**Останнє оновлення:** 2026-02-09 (market data integration)
|
||||||
|
|||||||
@@ -693,8 +693,8 @@ services:
|
|||||||
- CMD-SHELL
|
- CMD-SHELL
|
||||||
- python -c "import urllib.request; urllib.request.urlopen('http://localhost:8892/health')"
|
- python -c "import urllib.request; urllib.request.urlopen('http://localhost:8892/health')"
|
||||||
interval: 15s
|
interval: 15s
|
||||||
timeout: 5s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 5
|
||||||
start_period: 15s
|
start_period: 15s
|
||||||
volumes:
|
volumes:
|
||||||
qdrant-data-node1: null
|
qdrant-data-node1: null
|
||||||
|
|||||||
Reference in New Issue
Block a user