Skip to content

Commit

Permalink
Run set_up_logging in main
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-z committed Dec 6, 2024
1 parent 47fab52 commit 53cca4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import json
import os
from watcloud_utils.typer import app
from watcloud_utils.logging import set_up_logging

from .agent import Agent

WORKSPACE_DIR = os.getenv("WORKSPACE_DIR", "/tmp/workspace")

set_up_logging()

@app.command()
def run_agent():
agent = Agent(json.loads(os.environ["BUCKET_CONFIG"]), json.loads(os.environ["REPO_CONFIG"]), WORKSPACE_DIR)
Expand Down

0 comments on commit 53cca4e

Please sign in to comment.