Upload alpha_factory/run.py
Browse files- alpha_factory/run.py +1 -3
alpha_factory/run.py
CHANGED
|
@@ -49,14 +49,12 @@ def main():
|
|
| 49 |
parser.add_argument("--ollama-url", type=str, default="http://localhost:11434", help="Ollama server URL")
|
| 50 |
parser.add_argument("--proven", action="store_true", help="Use proven templates (no LLM, deterministic generation)")
|
| 51 |
parser.add_argument("--enable-brain", action="store_true", help="Enable live BRAIN submission (requires BRAIN_SESSION_TOKEN)")
|
| 52 |
-
parser.add_argument("--local-sim", action="store_true", help="Enable local BRAIN simulation (requires yfinance)")
|
| 53 |
args = parser.parse_args()
|
| 54 |
|
| 55 |
config = load_config()
|
| 56 |
config.batch_size = args.batch_size
|
| 57 |
config.use_proven_templates = args.proven
|
| 58 |
config.enable_brain_client = args.enable_brain
|
| 59 |
-
config.enable_local_sim = args.local_sim
|
| 60 |
|
| 61 |
if args.dry_run:
|
| 62 |
config.enable_brain_client = False
|
|
@@ -121,4 +119,4 @@ def main():
|
|
| 121 |
|
| 122 |
|
| 123 |
if __name__ == "__main__":
|
| 124 |
-
main()
|
|
|
|
| 49 |
parser.add_argument("--ollama-url", type=str, default="http://localhost:11434", help="Ollama server URL")
|
| 50 |
parser.add_argument("--proven", action="store_true", help="Use proven templates (no LLM, deterministic generation)")
|
| 51 |
parser.add_argument("--enable-brain", action="store_true", help="Enable live BRAIN submission (requires BRAIN_SESSION_TOKEN)")
|
|
|
|
| 52 |
args = parser.parse_args()
|
| 53 |
|
| 54 |
config = load_config()
|
| 55 |
config.batch_size = args.batch_size
|
| 56 |
config.use_proven_templates = args.proven
|
| 57 |
config.enable_brain_client = args.enable_brain
|
|
|
|
| 58 |
|
| 59 |
if args.dry_run:
|
| 60 |
config.enable_brain_client = False
|
|
|
|
| 119 |
|
| 120 |
|
| 121 |
if __name__ == "__main__":
|
| 122 |
+
main()
|