mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-11-07 13:42:20 +01:00
Merge commit 'refs/phase3/pre-ajax/publication-tip' into integration/pre-ajax-release
# 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
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user