Skip to content

Commit

Permalink
Small typo before PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfior committed Jun 6, 2024
1 parent fdfd26f commit 9504477
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 1 addition & 6 deletions deployment/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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)
4 changes: 1 addition & 3 deletions deployment/local_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9504477

Please sign in to comment.