Files
VoiceAgent/test_dual_engine.py

29 lines
833 B
Python

import asyncio
import sys
from pathlib import Path
WORKSPACE = Path("/Users/adolforeyna/Projects/VoiceAgent1")
sys.path.insert(0, str(WORKSPACE))
import env_setup
env_setup.setup_environment_path()
from dual_engine import DualEngineProcessor
from hermes_llm import HermesLLM
from apple_llm import MacOSLLM
async def test_dual_engine_orchestrator():
print("Testing DualEngineProcessor initialization and dispatch...")
deep_llm = HermesLLM(cwd=WORKSPACE, keep_open=True)
fast_llm = MacOSLLM()
orchestrator = DualEngineProcessor(fast_llm=fast_llm, deep_llm=deep_llm)
assert orchestrator._fast_llm == fast_llm
assert orchestrator._deep_llm == deep_llm
print("PASS: DualEngineProcessor initialized and verified!")
if __name__ == "__main__":
asyncio.run(test_dual_engine_orchestrator())