Merge pull request #3437 from silentoplayz/patch-1

feat: case insensitive prompt/models selection chat input
This commit is contained in:
Timothy Jaeryang Baek
2024-06-25 12:55:08 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -12,7 +12,7 @@
let filteredPromptCommands = [];
$: filteredPromptCommands = $prompts
.filter((p) => p.command.includes(prompt))
.filter((p) => p.command.toLowerCase().includes(prompt.toLowerCase()))
.sort((a, b) => a.title.localeCompare(b.title));
$: if (prompt) {