feat: DAARWIZZ v3 - production persona with full profile and system prompt

- Updated gateway-bot/daarwizz_prompt.txt with v3 system prompt
- Created docs/daarwizz/PROFILE.md with complete agent profile
- Defines DAARWIZZ as digital mayor and MoE coordinator
- Specifies communication style, roles, security policies
- Integration with full DAGI Stack (Router, DevTools, CrewAI, RBAC)
- Knowledge base references to official DAARION.city docs
This commit is contained in:
Ivan Tytar
2025-11-15 17:02:38 +01:00
parent 26fa3eee0a
commit 36770c5c92
4 changed files with 164 additions and 34 deletions

View File

@@ -3,13 +3,14 @@ DAGI Router Client
Sends requests to DAGI Router from Bot Gateway
"""
import logging
import os
import httpx
from typing import Dict, Any
logger = logging.getLogger(__name__)
# Router configuration
ROUTER_URL = "http://127.0.0.1:9102/route"
# Router configuration from environment
ROUTER_URL = os.getenv("ROUTER_URL", "http://127.0.0.1:9102") + "/route"
ROUTER_TIMEOUT = 30.0
@@ -26,7 +27,7 @@ async def send_to_router(body: Dict[str, Any]) -> Dict[str, Any]:
Raises:
httpx.HTTPError: if router request fails
"""
logger.info(f"Sending to Router: mode={body.get('mode')}, dao_id={body.get('dao_id')}")
logger.info(f"Sending to Router ({ROUTER_URL}): mode={body.get('mode')}, dao_id={body.get('dao_id')}")
try:
async with httpx.AsyncClient(timeout=ROUTER_TIMEOUT) as client: