移除 PUBLIC_LINK_URL 绕路链路:本地文件取公网 URL 改由 agent 内置工具直发;video_gen 不再透传 size(上游用默认尺寸)

This commit is contained in:
2026-09-17 19:38:05 +08:00
parent 6fff0dd936
commit 485a604d2d
6 changed files with 39 additions and 106 deletions
-1
View File
@@ -16,5 +16,4 @@ COPY . .
EXPOSE 3000
# HTTP 模式:只提供 MCP(/mcp)与 /health;容器外不映射,只在 agent-mcp-net 内被 agent 访问。
# 本地图片需要公网 URL 时,AI 去 curl agent 的内网签发入口(env PUBLIC_LINK_URL),本服务不搬字节。
CMD ["node", "src/mcp-server.js", "--http", "--port", "3000", "--host", "0.0.0.0"]