mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-03 02:11:48 +00:00
fix(profiles): update terminal command for copying based on profile name
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
1745cfc6d7
commit
3e200b64fb
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ export default function ProfilesPage() {
|
|||
};
|
||||
|
||||
const handleCopyTerminalCommand = async (name: string) => {
|
||||
const cmd = `hermes -p ${name}`;
|
||||
const cmd = name === "default" ? "hermes setup" : `${name} setup`;
|
||||
try {
|
||||
await navigator.clipboard.writeText(cmd);
|
||||
showToast(`${t.profiles.commandCopied}: ${cmd}`, "success");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue