This commit is contained in:
@@ -486,3 +486,15 @@ def test_resource_optimization_cannot_use_legacy_autonomous_execution_template(m
|
||||
asyncio.run(engine._notify_telegram_executed(decision, trigger))
|
||||
|
||||
assert sent == []
|
||||
|
||||
|
||||
def test_elephant_alpha_openclaw_registry_is_ollama_first():
|
||||
from services.elephant_alpha_orchestrator import ElephantAlphaOrchestrator
|
||||
|
||||
orchestrator = ElephantAlphaOrchestrator()
|
||||
openclaw = orchestrator.agents["openclaw"]
|
||||
|
||||
assert not openclaw.model.startswith("gemini")
|
||||
assert openclaw.model == "qwen2.5-coder:7b"
|
||||
assert "Gemini is not a primary agent model" in orchestrator.system_prompt
|
||||
assert "Ollama cascade" in orchestrator.system_prompt
|
||||
|
||||
Reference in New Issue
Block a user