Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions docker/run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -407,7 +413,3 @@ echo Running: !CMD!

:: Exit
exit /b 0

:: Start script execution
call :parse_args %*