Skip to content

Commit c098c36

Browse files
committed
Missing dockerfile, adjust default config
Signed-off-by: Kelly Abuelsaad <kaymar@gmail.com>
1 parent 6eccebf commit c098c36

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

a2a/git_issue_agent/.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ LLM_API_BASE = "http://localhost:11434"
33
LLM_API_KEY = "ollama"
44
MODEL_TEMPERATURE = 0
55
MCP_URL = "https://api.githubcopilot.com/mcp/"
6-
SERVICE_PORT = 8008
6+
SERVICE_PORT = 8000
77
LOG_LEVEL = "INFO"
88
GITHUB_TOKEN = ""

a2a/git_issue_agent/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
2+
ARG RELEASE_VERSION="main"
3+
4+
WORKDIR /app
5+
COPY . .
6+
RUN uv sync --no-cache --locked --link-mode copy
7+
8+
ENV PRODUCTION_MODE=True \
9+
RELEASE_VERSION=${RELEASE_VERSION}
10+
11+
RUN chown -R 1001:1001 /app
12+
USER 1001
13+
14+
CMD ["uv", "run", "--no-sync", "server", "--host", "0.0.0.0", "--port", "8000"]

a2a/slack_researcher/slack_researcher/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from slack_researcher.config import settings
1414

1515
logger = logging.getLogger(__name__)
16-
logging.basicConfig(level=logging.DEBUG, stream=sys.stdout, format='%(levelname)s: %(message)s')
16+
logging.basicConfig(level=settings.LOG_LEVEL, stream=sys.stdout, format='%(levelname)s: %(message)s')
1717

1818
def on_auth_error(request: Request, e: Exception):
1919
status_code = 401

0 commit comments

Comments
 (0)