Files
jarvis-v3/_check_out.txt
T
bruno 09984d49fa feat: JARVIS v3 Phase 1 — WebSocket relay vers Hermes A.L.E.X.A.
- Serveur WebSocket direct avec websockets 16.0
- Interface HTML/CSS/JS dark theme avec chat
- Relay vers API Hermes sur port 8642
- Historique de conversation (20 messages)
- Clé API via Infisical
- Testé et fonctionnel sur openclaw1.dev.home:7081
2026-06-19 22:46:32 -04:00

37 lines
974 B
Plaintext

=== head ===
#!/usr/bin/env python3
"""
JARVIS v3 PoC — Pipecat bot avec API Hermes
============================================
Phase 1 : bot texte via WebSocket
Version corrigée pour Pipecat 1.4.0 — utilise LLMContext + LLMContextFrame
"""
import json
import os
import subprocess
import sys
from fastapi import FastAPI, WebSocket
from fastapi.responses import HTMLResponse
import uvicorn
from pipecat.frames.frames import (
Frame,
InputTransportMessageFrame,
LLMContextFrame,
LLMFullResponseEndFrame,
LLMFullResponseStartFrame,
LLMTextFrame,
OutputTransportMessageFrame,
OutputTransportMessageUrgentFrame,
StartFrame,
)
from pipecat.pipeline.pipeline import Pipeline
from pipecat.pipeline.runner import PipelineRunner
=== line count ===
354 bot.py
=== import test ===
2026-06-19 17:14:16.253 | INFO | pipecat:<module>:28 - ᓚᘏᗢ Pipecat 1.4.0 (Python 3.13.5 (main, May 5 2026, 21:05:52) [GCC 14.2.0]) ᓚᘏᗢ
exit: 0