feat: add tool-call fallback and resilient batch exports
This commit is contained in:
1 parent
ab066733b8
commit
d31eb2a19d
32 files changed
+538
-72
No files matched your search
@@ -0,0 +1,12 @@
|
||||
"""The compatibility entry point follows the commands registered by Typer."""
|
||||
|
||||
from artemis.main import normalize_argv
|
||||
|
||||
|
||||
def test_registered_commands_and_flags_are_not_treated_as_goals():
|
||||
for token in ("ui", "status", "helper", "restart", "stop", "--help", "--version", "-v"):
|
||||
assert normalize_argv(["artemis", token]) == ["artemis", token]
|
||||
|
||||
|
||||
def test_bare_goal_still_uses_run_command():
|
||||
assert normalize_argv(["artemis", "打开设置"]) == ["artemis", "run", "打开设置"]
|
||||
Reference in new issue
Block a user