mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-01 06:42:26 +00:00
Revert "feat: make skills invokable as slash commands in the TUI"
This reverts commit 85126556b8.
This commit is contained in:
@@ -345,9 +345,8 @@ export function Autocomplete(props: {
|
||||
const results: AutocompleteOption[] = [...command.slashes()]
|
||||
|
||||
for (const serverCommand of sync.data.command) {
|
||||
const label = serverCommand.mcp ? " (MCP)" : serverCommand.skill ? " (Skill)" : ""
|
||||
results.push({
|
||||
display: "/" + serverCommand.name + label,
|
||||
display: "/" + serverCommand.name + (serverCommand.mcp ? " (MCP)" : ""),
|
||||
description: serverCommand.description,
|
||||
onSelect: () => {
|
||||
const newText = "/" + serverCommand.name + " "
|
||||
|
||||
Reference in New Issue
Block a user