Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent e5c99a5eee
commit 6ee6502010
2050 changed files with 538359 additions and 57745 deletions
+21
View File
@@ -0,0 +1,21 @@
from routes.session_routes import _context_info_tool_inventory
def test_context_info_tool_inventory_is_compact_backend_metadata():
tools = _context_info_tool_inventory()
names = {tool["name"] for tool in tools}
assert "manage_skills" in names
assert "ui_control" in names
ui_control = next(tool for tool in tools if tool["name"] == "ui_control")
assert ui_control["source"] == "backend"
assert "description" in ui_control
assert "schema" not in ui_control
assert "parameters" not in ui_control
def test_context_info_tool_inventory_applies_limit():
tools = _context_info_tool_inventory(limit=2)
assert len(tools) == 2