From 95044776a6afe2d66caa758cbb04bba455d0a40e Mon Sep 17 00:00:00 2001 From: Gabriel Fior Date: Thu, 6 Jun 2024 19:19:55 -0300 Subject: [PATCH] Small typo before PR review --- deployment/README.md | 7 +------ deployment/local_runner.py | 4 +--- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/deployment/README.md b/deployment/README.md index ccd219e..3280a5d 100644 --- a/deployment/README.md +++ b/deployment/README.md @@ -1,4 +1,4 @@ -# Deployment of agents (Work in progress) +# Deployment of agents This folder contains scripts for quickly deploying your agent to a cloud provider (Modal) and have it executed on a cron schedule. Additionally, a local setup is also provided. @@ -27,8 +27,3 @@ modal run deployment/local_runner.py ```shell modal deploy --name execute_agent deployment/remote_runner.py ``` - -# Todo -- Improve README -- Define agent function -- make cron_runner and local_runner call same function (from agent) diff --git a/deployment/local_runner.py b/deployment/local_runner.py index 0b7d288..324b248 100644 --- a/deployment/local_runner.py +++ b/deployment/local_runner.py @@ -2,9 +2,7 @@ from deployment.agent import run -app = modal.App( - "example-get-started" -) # Note: prior to April 2024, "app" was called "stub" +app = modal.App("example-get-started") @app.function()