Files
EvoScientist-Multi/tests/test_tools.py
T
X-iZhang 63517a2a04 feat: refactor iMessage channel handling and remove view_image tool
- Updated iMessage channel to read send_thinking preference from config.
- Modified _auto_start_channel to accept send_thinking parameter.
- Removed view_image tool and adjusted related functionality.
- Enhanced README to reflect changes in media handling.
- Updated tests to cover new behavior and removed tests for view_image.
2026-02-11 19:27:05 +00:00

19 lines
640 B
Python

"""Tests for EvoScientist/tools.py — only non-API tools."""
from EvoScientist.tools import think_tool
class TestThinkTool:
def test_returns_confirmation(self):
result = think_tool.invoke({"reflection": "I need more data on topic X"})
assert isinstance(result, str)
assert "I need more data on topic X" in result
def test_reflection_recorded(self):
result = think_tool.invoke({"reflection": "gap analysis"})
assert "Reflection recorded" in result
def test_empty_reflection(self):
result = think_tool.invoke({"reflection": ""})
assert "Reflection recorded" in result