mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-04 02:37:44 +00:00
c8d0d59308
* fix_dotenv_error * format with isort * Update rdagent/app/cli.py --------- Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
17 lines
458 B
Python
17 lines
458 B
Python
from __future__ import annotations
|
|
|
|
from pathlib import Path
|
|
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class RunnerSettings(BaseSettings):
|
|
class Config:
|
|
env_prefix = "RUNNER_" # Use MODEL_CODER_ as prefix for environment variables
|
|
|
|
cache_result: bool = True # whether to cache the result of the docker execution
|
|
cache_path: str = str(Path.cwd() / "runner_cache/") # the path to store the cache
|
|
|
|
|
|
RUNNER_SETTINGS = RunnerSettings()
|