Files
jarvis-v3/test_ctx_method.py
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

24 lines
950 B
Python

from pipecat.services.openai.llm import OpenAILLMService
import inspect
# Get the create_context_aggregator method
method = getattr(OpenAILLMService, 'create_context_aggregator', None)
if method:
print("Method found!")
print(f"Type: {type(method)}")
sig = inspect.signature(method)
print(f"Signature: {sig}")
# Try to see what params it takes
for name, param in sig.parameters.items():
print(f" {name}: {param.annotation if param.annotation is not inspect.Parameter.empty else 'Any'} = {param.default if param.default is not inspect.Parameter.empty else 'REQUIRED'}")
else:
print("Method NOT found!")
# Check if it's created by a metaclass or __init_subclass__
for cls in OpenAILLMService.__mro__:
if hasattr(cls, 'create_context_aggregator'):
print(f" Found in {cls.__name__}")
m = getattr(cls, 'create_context_aggregator')
print(f" Type: {type(m)}")