fix(app): accept inline skill autocomplete (#1464)
This commit is contained in:
@@ -450,9 +450,7 @@ export function useAgentAutocomplete(input: UseAgentAutocompleteInput): AgentAut
|
||||
command: activeSlashCommand,
|
||||
commandName: selected.id,
|
||||
});
|
||||
const shouldAppendSpace =
|
||||
activeSlashCommand.position === "start" && activeSlashCommand.end === userInput.length;
|
||||
setUserInput(shouldAppendSpace ? `${nextInput} ` : nextInput);
|
||||
setUserInput(nextInput);
|
||||
onAutocompleteApplied?.();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user