diff --git a/docker/run.bat b/docker/run.bat index 22b99bf62..0612827e1 100644 --- a/docker/run.bat +++ b/docker/run.bat @@ -14,6 +14,9 @@ set SHOW_REASONING= set COMMAND= set MODEL_NAME= +:: Jump to argument parsing (skip function definitions) +goto :main_start + :: Help function :show_help echo AI Hedge Fund Docker Runner @@ -49,6 +52,9 @@ echo run.bat pull llama3 # Pull the llama3 model to Ollama echo. goto :eof +:: Main script entry point +:main_start + :: Parse arguments :parse_args if "%~1"=="" goto :check_command @@ -407,7 +413,3 @@ echo Running: !CMD! :: Exit exit /b 0 - -:: Start script execution -call :parse_args %* -