Minimal agent strategy

This commit is contained in:
7355608
2026-07-03 22:02:12 +08:00
commit 596b34f600
3 changed files with 10 additions and 0 deletions

4
Dockerfile Normal file
View File

@@ -0,0 +1,4 @@
FROM python:3.10-slim
WORKDIR /workspace
COPY main.py .
ENTRYPOINT ["python", "main.py"]

2
main.py Normal file
View File

@@ -0,0 +1,2 @@
"""Minimal agent entrypoint for ModelHub XC."""
print("Agent ready", flush=True)

4
requirements.txt Normal file
View File

@@ -0,0 +1,4 @@
torch>=2.0.0
transformers>=4.30.0
huggingface_hub>=0.20.0
modelscope>=1.10.0