- 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
28 lines
914 B
Python
28 lines
914 B
Python
|
|
from pipecat.processors.aggregators.llm_context import (
|
|
LLMUserContextAggregator,
|
|
LLMAssistantContextAggregator,
|
|
)
|
|
import inspect
|
|
|
|
print("=== LLMUserContextAggregator ===")
|
|
sig = inspect.signature(LLMUserContextAggregator.__init__)
|
|
for n, p in sig.parameters.items():
|
|
if n == 'self': continue
|
|
default = "REQUIRED" if p.default is inspect.Parameter.empty else str(p.default)[:60]
|
|
print(f" {n}: {default}")
|
|
|
|
print()
|
|
print("=== LLMAssistantContextAggregator ===")
|
|
sig2 = inspect.signature(LLMAssistantContextAggregator.__init__)
|
|
for n, p in sig2.parameters.items():
|
|
if n == 'self': continue
|
|
default = "REQUIRED" if p.default is inspect.Parameter.empty else str(p.default)[:60]
|
|
print(f" {n}: {default}")
|
|
|
|
# Check if they need a context object
|
|
print()
|
|
print("=== LLMUserContextAggregator base classes ===")
|
|
for cls in LLMUserContextAggregator.__mro__:
|
|
print(f" {cls.__name__}")
|