Merge pull request #14 from leonj1/feat_support_version

FEAT support version arg
This commit is contained in:
AI Christianson 2024-12-25 23:30:07 -05:00 committed by GitHub
commit 408eff73a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,7 @@ from ra_aid.tools.memory import _global_memory
from ra_aid.tools.human import ask_human
from ra_aid import print_stage_header, print_error
from ra_aid.tools.human import ask_human
from ra_aid.__version__ import __version__
from ra_aid.agent_utils import (
AgentInterrupt,
run_agent_with_retry,
@ -43,6 +44,12 @@ Examples:
type=str,
help='The task or query to be executed by the agent'
)
parser.add_argument(
'--version',
action='version',
version=f'%(prog)s {__version__}',
help='Show program version number and exit'
)
parser.add_argument(
'--research-only',
action='store_true',