Added restart script and fixed dockerfile and run to match docs
This commit is contained in:
@@ -15,26 +15,26 @@ class Config:
|
||||
parser.add_argument(
|
||||
'--system-prompt',
|
||||
type=Path,
|
||||
default=os.getenv('SIA_SYSTEM_PROMPT', 'system_prompt.md'),
|
||||
help='Path to the system prompt file (default: system_prompt.md, env: SIA_SYSTEM_PROMPT)'
|
||||
default=os.getenv('SIA_SYSTEM_PROMPT', '/root/sia/system_prompt.md'),
|
||||
help='Path to the system prompt file (default: /root/sia/system_prompt.md, env: SIA_SYSTEM_PROMPT)'
|
||||
)
|
||||
parser.add_argument(
|
||||
'--action-schema',
|
||||
type=Path,
|
||||
default=os.getenv('SIA_ACTION_SCHEMA', 'action_schema.xsd'),
|
||||
help='Path to the action schema file (default: action_schema.xsd, env: SIA_ACTION_SCHEMA)'
|
||||
default=os.getenv('SIA_ACTION_SCHEMA', '/root/sia/action_schema.xsd'),
|
||||
help='Path to the action schema file (default: /root/sia/action_schema.xsd, env: SIA_ACTION_SCHEMA)'
|
||||
)
|
||||
parser.add_argument(
|
||||
'--iterations-dir',
|
||||
type=Path,
|
||||
default=os.getenv('SIA_ITERATIONS_DIR', 'iterations'),
|
||||
help='Path to the directory for storing iterations (default: iterations, env: SIA_ITERATIONS_DIR)'
|
||||
default=os.getenv('SIA_ITERATIONS_DIR', '/root/data/iterations'),
|
||||
help='Path to the directory for storing iterations (default: /root/data/iterations, env: SIA_ITERATIONS_DIR)'
|
||||
)
|
||||
parser.add_argument(
|
||||
'--work-dir',
|
||||
type=Path,
|
||||
default=os.getenv('SIA_WORK_DIR', '/root'),
|
||||
help='Path to the working directory (default: /root, env: SIA_WORK_DIR)'
|
||||
default=os.getenv('SIA_WORK_DIR', '/root/desktop'),
|
||||
help='Path to the working directory (default: /root/desktop, env: SIA_WORK_DIR)'
|
||||
)
|
||||
|
||||
# Web server configuration
|
||||
@@ -59,8 +59,8 @@ class Config:
|
||||
parser.add_argument(
|
||||
'--static-files',
|
||||
type=Path,
|
||||
default=self._parse_optional_path('SIA_STATIC_FILES', './static/'),
|
||||
help='Path to static web files (default: ./static/, env: SIA_STATIC_FILES)'
|
||||
default=self._parse_optional_path('SIA_STATIC_FILES', '/root/static/'),
|
||||
help='Path to static web files (default: /root/static/, env: SIA_STATIC_FILES)'
|
||||
)
|
||||
|
||||
# Local LLM configuration
|
||||
@@ -73,8 +73,8 @@ class Config:
|
||||
parser.add_argument(
|
||||
'--local-model',
|
||||
type=str,
|
||||
default=os.getenv('SIA_LOCAL_MODEL', '/root/model/'),
|
||||
help='Path to local model directory (default: /root/model/, env: SIA_LOCAL_MODEL)'
|
||||
default=os.getenv('SIA_LOCAL_MODEL', '/root/models/current'),
|
||||
help='Path to local model directory (default: /root/models/current, env: SIA_LOCAL_MODEL)'
|
||||
)
|
||||
parser.add_argument(
|
||||
'--local-temperature',
|
||||
|
||||
Reference in New Issue
Block a user