diff --git a/run.py b/run.py index fb769ca..874983f 100644 --- a/run.py +++ b/run.py @@ -1208,7 +1208,10 @@ def main(config: Config): parser.add_argument( "-p", "--port", type=int, help="Port to expose the Web UI on", default=3000, ) - + os.system("systemctl stop ollama") + os.system("docker stop codeassist-ollama") + os.system("docker kill codeassist-ollama") + os.system("sudo kill -9 $(sudo lsof -t -i:11434)") args = parser.parse_args() config = Config(**args.__dict__)