mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-18 04:41:56 +00:00
fix(cli): parse positional insights days
This commit is contained in:
parent
c23a87bc16
commit
a34998ee2f
2 changed files with 46 additions and 0 deletions
3
cli.py
3
cli.py
|
|
@ -8805,6 +8805,9 @@ class HermesCLI:
|
|||
elif parts[i] == "--source" and i + 1 < len(parts):
|
||||
source = parts[i + 1]
|
||||
i += 2
|
||||
elif parts[i].isdigit():
|
||||
days = int(parts[i])
|
||||
i += 1
|
||||
else:
|
||||
i += 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue