diff --git a/apps/api/src/api/v1/aider_events.py b/apps/api/src/api/v1/aider_events.py index d4de02ae..8d3f917d 100644 --- a/apps/api/src/api/v1/aider_events.py +++ b/apps/api/src/api/v1/aider_events.py @@ -5,13 +5,13 @@ from __future__ import annotations import hmac import hashlib import os -import logging +import structlog from fastapi import APIRouter, Header, HTTPException, Request, status from pydantic import ValidationError from src.models.aider import AiderBatchIn from src.services.aider_event_service import push_aider_batch_to_stream -logger = logging.getLogger(__name__) +logger = structlog.get_logger(__name__) router = APIRouter(prefix="/aider", tags=["Aider"]) diff --git a/scripts/aider_watch_client/pyproject.toml b/scripts/aider_watch_client/pyproject.toml index f300b95f..5ddf3d6c 100644 --- a/scripts/aider_watch_client/pyproject.toml +++ b/scripts/aider_watch_client/pyproject.toml @@ -3,7 +3,7 @@ name = "aider-watch-client" version = "0.2.0" description = "Mac client for aider-watch (posts events to awoooi API)" requires-python = ">=3.11" -dependencies = ["requests>=2.31", "python-ulid>=3.0"] +dependencies = ["requests>=2.31", "python-ulid>=3.0", "typing-extensions>=4.0"] [project.optional-dependencies] dev = ["pytest>=8.0"]