mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-09 08:22:19 +02:00
# Conflicts: # routes/chat_routes.py # routes/session_routes.py # src/agent_loop.py # src/agent_tools/filesystem_tools.py # src/teacher_escalation.py # src/tool_capabilities.py # src/tool_execution.py # tests/test_mcp_add_server_args_validation.py # tests/test_token_cache_atomic_swap.py
23 lines
610 B
Python
23 lines
610 B
Python
from src.action_intents import classify_tool_intent
|
|
|
|
|
|
def test_open_cal_promotes_to_ui_panel():
|
|
intent = classify_tool_intent("open cal")
|
|
|
|
assert intent.needs_tools
|
|
assert intent.category == "ui"
|
|
|
|
|
|
def test_terse_dated_calendar_create_promotes_to_calendar():
|
|
intent = classify_tool_intent("add fireworks october 3rd")
|
|
|
|
assert intent.needs_tools
|
|
assert intent.category == "calendar"
|
|
|
|
|
|
def test_terse_timed_calendar_create_promotes_to_calendar():
|
|
intent = classify_tool_intent("schedule dinner next friday 7pm")
|
|
|
|
assert intent.needs_tools
|
|
assert intent.category == "calendar"
|