Skip to content

Commit 14e23d2

Browse files
🔄 Sync from monorepo
Source Repository: OpenAgentKit/AG-Kit Source Commit: 14e828d39899f7ce67bcb3b45cf3a629fa10686d Triggered by: Formergg 📦 Synced paths: ✓ test examples: typescript-sdk/packages/examples/agents/test → httpfunctions/test ✓ Coze Python example: python-sdk/examples/coze → httpfunctions/coze-python ✓ Dify Python example: python-sdk/examples/dify → httpfunctions/dify-python 📝 Original commit message:
1 parent d4f04aa commit 14e23d2

File tree

8 files changed

+625
-0
lines changed

8 files changed

+625
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Dify API Configuration
2+
# Copy this file to .env and fill in your actual values
3+
4+
# Dify API Key (required)
5+
# Get from: Dify Studio -> API Access
6+
DIFY_API_KEY=your_dify_api_key_here
7+
8+
# Optional: Dify API Base URL
9+
# Default: https://api.dify.ai/v1
10+
# DIFY_API_BASE=https://api.dify.ai/v1
11+
12+
# Optional: Debug mode (enable detailed logging)
13+
# DEBUG=true
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
FROM ghcr.io/astral-sh/uv:python3.10-bookworm-slim
2+
3+
ENV PYTHONUNBUFFERED=1 \
4+
UV_COMPILE_BYTECODE=1 \
5+
UV_SYSTEM_PYTHON=1 \
6+
TENCENTCLOUD_RUNENV=SCF
7+
8+
RUN sed -i 's/deb.debian.org/mirrors.tencent.com/g' /etc/apt/sources.list.d/debian.sources \
9+
&& sed -i 's/security.debian.org/mirrors.tencent.com/g' /etc/apt/sources.list.d/debian.sources
10+
11+
WORKDIR /app
12+
13+
RUN apt-get update && apt-get install -y --no-install-recommends \
14+
tzdata ca-certificates \
15+
&& ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
16+
&& dpkg-reconfigure -f noninteractive tzdata \
17+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
18+
19+
COPY requirements.txt .
20+
21+
RUN uv pip install --system --no-cache \
22+
--index-url https://mirrors.cloud.tencent.com/pypi/simple \
23+
--extra-index-url https://pypi.org/simple \
24+
-r requirements.txt
25+
26+
COPY app.py agent.py auth.py ./
27+
28+
CMD ["python3", "app.py"]

0 commit comments

Comments
 (0)