fix: support /models alias for /model

This commit is contained in:
Peter Steinberger
2026-01-09 06:23:18 +01:00
parent 133124e023
commit 31a2830f7d
5 changed files with 12 additions and 2 deletions

View File

@@ -26,6 +26,8 @@ describe("commands registry", () => {
expect(detection.regex.test("/status:")).toBe(true);
expect(detection.regex.test("/stop")).toBe(true);
expect(detection.regex.test("/send:")).toBe(true);
expect(detection.regex.test("/models")).toBe(true);
expect(detection.regex.test("/models list")).toBe(true);
expect(detection.regex.test("try /status")).toBe(false);
});