google / google/adk-python

adk deploy: handle non-python dependencies (npx, typescript mpcs, etc)

Đang mở
#1,473 2 bình luận 0 reaction 2 người được giao Được @klateefa nhận Xem trên GitHub
mcp needs review tools
Ngôn ngữ chính
Python
Star
21.5k
Fork
4k
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
37

Mô tả

I've deployed my agent to Google Cloud Run using `adk deploy`.
But now, I find that `npx` (used for a MCP Tool) was not installed; and even if it was, the mcp typescript server I was using will be downloaded and installed every time the Cloud Run Backend is restarted.

I think we could add 'external' (non python) deps [easily into the Dockerfile](https://github.com/google/adk-python/blob/c04adaade118be242fcf110e24e96253ac6550ab/src/google/adk/cli/cli_deploy.py#L23) by just having a new `requirements.sh` that will be ran if present; like [what we're doing](https://github.com/google/adk-python/blob/c04adaade118be242fcf110e24e96253ac6550ab/src/google/adk/cli/cli_deploy.py#L176-L192) with `requirements.txt`

If you think this makes sense, I could send a PR

Thanks

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.