- 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
31 lines
950 B
Python
31 lines
950 B
Python
|
|
import pipecat.processors.aggregators.llm_context as ctx_mod
|
|
import inspect
|
|
|
|
# Check OpenAIContextAggregatorPair
|
|
print("=== OpenAIContextAggregatorPair ===")
|
|
cls = ctx_mod.OpenAIContextAggregatorPair
|
|
sig = inspect.signature(cls.__init__)
|
|
print(f"__init__ params: {list(sig.parameters.keys())}")
|
|
|
|
# Check OpenAILLMContextAggregatorPair
|
|
print()
|
|
print("=== OpenAILLMContextAggregatorPair ===")
|
|
cls2 = ctx_mod.OpenAILLMContextAggregatorPair
|
|
sig2 = inspect.signature(cls2.__init__)
|
|
print(f"__init__ params: {list(sig2.parameters.keys())}")
|
|
|
|
# Check methods
|
|
print()
|
|
print("=== OpenAIContextAggregatorPair methods ===")
|
|
for name in dir(ctx_mod.OpenAIContextAggregatorPair):
|
|
if not name.startswith('_'):
|
|
print(f" {name}")
|
|
|
|
# Check LLMUserContextAggregator
|
|
print()
|
|
print("=== LLMUserContextAggregator __init__ ===")
|
|
cls3 = ctx_mod.LLMUserContextAggregator
|
|
sig3 = inspect.signature(cls3.__init__)
|
|
print(f"params: {list(sig3.parameters.keys())}")
|