- 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
25 lines
718 B
Python
25 lines
718 B
Python
|
|
import pipecat.processors.aggregators.llm_context as m
|
|
|
|
# Access via module attribute
|
|
try:
|
|
UserCtx = m.LLMUserContextAggregator
|
|
print(f"LLMUserContextAggregator accessed: {UserCtx}")
|
|
except AttributeError as e:
|
|
print(f"ERROR accessing LLMUserContextAggregator: {e}")
|
|
|
|
try:
|
|
AsstCtx = m.LLMAssistantContextAggregator
|
|
print(f"LLMAssistantContextAggregator accessed: {AsstCtx}")
|
|
except AttributeError as e:
|
|
print(f"ERROR accessing LLMAssistantContextAggregator: {e}")
|
|
|
|
# Try the module's __getattr__
|
|
print()
|
|
print("Testing __getattr__...")
|
|
try:
|
|
x = m.OpenAILLMContext
|
|
print(f"OpenAILLMContext: {x}")
|
|
except Exception as e:
|
|
print(f"OpenAILLMContext ERROR: {type(e).__name__}: {e}")
|