SanjinDedic / agent_games

Secure, extensible agent competition platform API build with FastAPI, SQLmodel, Pydantic and Docker
9 stars 2 forks source link

Added customised timeout #55

Closed Matthewheekh closed 3 months ago

Matthewheekh commented 3 months ago

Adder customised timeout option. Also fixed an error with capturing the simulation results due to other print statements. Though should I create a customised timeout class so that I can catch in in the run_docker_simulation function and give out the correct error message? didn't create this yet cause I thought there maybe shouldn't be so much link between the docker script and other code