refactor(command): remove history command
This commit is contained in:
1 parent
efec4a608d
commit
c927808aff
30 files changed
+58
-278
No files matched your search
@@ -391,5 +391,5 @@ def test_goal_command_in_help_and_palette() -> None:
|
||||
}
|
||||
commands = [item["command"] for item in palette]
|
||||
goal_index = commands.index("/goal")
|
||||
assert commands[goal_index - 1:goal_index + 2] == ["/history", "/goal", "/trigger"]
|
||||
assert commands[goal_index - 1:goal_index + 2] == ["/model", "/goal", "/trigger"]
|
||||
assert "/goal <goal>" in build_help_text()
|
||||
@@ -80,7 +80,7 @@ class TestIsDispatchableCommand:
|
||||
("content", "expected"),
|
||||
[
|
||||
("/status", False),
|
||||
("/history 5", False),
|
||||
("/dream-log abc123", False),
|
||||
("/goal", False),
|
||||
("/goal migrate the database", True),
|
||||
("regular prompt", True),
|
||||
|
||||
Reference in new issue
Block a user