- Add intelligent-router.sh hook for automatic agent routing - Add AUTO-TRIGGER-SUMMARY.md documentation - Add FINAL-INTEGRATION-SUMMARY.md documentation - Complete Prometheus integration (6 commands + 4 tools) - Complete Dexto integration (12 commands + 5 tools) - Enhanced Ralph with access to all agents - Fix /clawd command (removed disable-model-invocation) - Update hooks.json to v5 with intelligent routing - 291 total skills now available - All 21 commands with automatic routing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
648 B
Python
21 lines
648 B
Python
from langchain_core.messages import HumanMessage
|
|
|
|
from prometheus.lang_graph.nodes.reset_messages_node import ResetMessagesNode
|
|
|
|
|
|
def test_reset_messages_node():
|
|
reset_build_messages_node = ResetMessagesNode("build_messages")
|
|
|
|
state = {
|
|
"build_messages": [HumanMessage(content="message 1"), HumanMessage(content="message 2")],
|
|
"test_messages": [HumanMessage(content="message 3"), HumanMessage(content="message 4")],
|
|
}
|
|
|
|
reset_build_messages_node(state)
|
|
|
|
assert "build_messages" in state
|
|
assert len(state["build_messages"]) == 0
|
|
|
|
assert "test_messages" in state
|
|
assert len(state["test_messages"]) == 2
|