mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-14 04:02:26 +00:00
fix(review): address copilot review
This commit is contained in:
parent
a0b62e0c5a
commit
082acc75b0
4 changed files with 15 additions and 6 deletions
|
|
@ -1,3 +1,6 @@
|
|||
/** Appended to `/model` args from the TUI picker for session scope; stripped in `session` slash before `config.set`. */
|
||||
export const TUI_SESSION_MODEL_FLAG = '--tui-session'
|
||||
|
||||
export const looksLikeSlashCommand = (text: string) => /^\/[^\s/]*(?:\s|$)/.test(text)
|
||||
|
||||
export const parseSlashCommand = (cmd: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue