EvoScientist Initial

This commit is contained in:
X-iZhang
2026-01-29 17:39:50 +00:00
parent eccbee0fa1
commit 19548016d9
79 changed files with 20164 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
"""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