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
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
|
||||
# Test all imports needed for the bot
|
||||
from pipecat.frames.frames import OutputTransportMessageFrame
|
||||
print("✅ OutputTransportMessageFrame")
|
||||
|
||||
from pipecat.pipeline.pipeline import Pipeline
|
||||
print("✅ Pipeline")
|
||||
|
||||
from pipecat.pipeline.runner import PipelineRunner
|
||||
print("✅ PipelineRunner")
|
||||
|
||||
from pipecat.pipeline.task import PipelineTask
|
||||
print("✅ PipelineTask")
|
||||
|
||||
from pipecat.processors.aggregators.llm_context import OpenAILLMContext
|
||||
print("✅ OpenAILLMContext")
|
||||
|
||||
from pipecat.services.openai.llm import OpenAILLMService
|
||||
print("✅ OpenAILLMService")
|
||||
|
||||
from pipecat.transports.websocket.fastapi import (
|
||||
FastAPIWebsocketParams,
|
||||
FastAPIWebsocketTransport,
|
||||
)
|
||||
print("✅ FastAPIWebsocketTransport")
|
||||
|
||||
# Test create_context_aggregator
|
||||
import inspect
|
||||
if hasattr(OpenAILLMService, 'create_context_aggregator'):
|
||||
print("✅ create_context_aggregator exists")
|
||||
else:
|
||||
print("❌ create_context_aggregator NOT found - checking parent...")
|
||||
for cls in OpenAILLMService.__mro__:
|
||||
if hasattr(cls, 'create_context_aggregator') and 'create_context_aggregator' in cls.__dict__:
|
||||
print(f" Found in {cls.__name__}")
|
||||
Reference in New Issue
Block a user