- Renamed routes from /ai-partner/* to /raso/*
- Renamed routes from /voice/* for wake word endpoints
- Updated PartnerAgent to RasoAgent with its own personality:
- Name: Raso
- Friendly, curious, witty style
- Greeting, thinking, remembering messages
- Proper farewell message
- Updated UI to reference Raso instead of "partner"
- All 14 agents now share memory with Raso as the companion
- Updated app.js and HTML to use new route names
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Rename routes for clarity: /partner/* β /ai-partner/*, /wake/* β /voice/*β
Sourabh-Kumar04+1: Claude Opus 4.7
f4059aa
More descriptive route names reflect actual functionality:
- /ai-partner/* for AI companion/secondary brain endpoints
- /voice/* for wake word detection endpoints
- Updated all frontend fetch calls to match
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Backend (main.py):
- Added /wake/ask endpoint - complete wake word + answer pipeline
- Added /partner/wake REST endpoint for "Hey Raso, tell me X"
- Fixed WAKE_DETECTED WebSocket handler - extracts command, routes to PartnerAgent
- Connected PartnerAgent to SearchAgent for web search capability
- Added TTS_READY message type for voice output
Frontend (app.js):
- sendMessage() now detects "Hey Raso" pattern and calls /wake/ask
- testWakeWord() now tests the actual backend flow
- Added speakText() for TTS voice output
- Added escHtml() utility function
The complete flow now works:
"Hey Raso, tell me what is AMD" β Backend extracts command β
PartnerAgent answers β Frontend speaks answer via TTS
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Update shared memory and app filesβ
Sourabh-Kumar04+1: Claude Opus 4.7
7107d0a
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Update app with fixes for HF deploymentβ
Sourabh-Kumar04+1: Claude Opus 4.7
94b648a
- Fix Dockerfile for HF Space compatibility
- Update UI and main app files
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Update frontend files for HF deployment
Sourabh-Kumar04
b226289
Update app files for HF deployment
Sourabh-Kumar04
c5774b9
Fix all issues - Docker deployment for HuggingFace Space