agentscope icon indicating copy to clipboard operation
agentscope copied to clipboard

在未联网的环境中,将私有部署的模型作为planner,Error running agent: Runtime service did not start within the specified timeout.

Open Youmo1 opened this issue 1 month ago • 10 comments

在alias项目中,定义 "qwen30b": [ OpenAIChatModel( api_key='empty', model_name="qwen3-30b-a3b-instruct", stream=False, client_args={"base_url": "http://localhost:30088/v1/chat/completions"} ), OpenAIChatFormatter(), ],

使用脚本 RUNTIME_SANDBOX_REGISTRY=agentscope-registry.ap-southeast-1.cr.aliyuncs.com alias_agent run --task "你好"

Image

在有网的环境下正常,断网后超时

Youmo1 avatar Nov 12 '25 08:11 Youmo1

我也遇到这个问题了,没什么头绪

whm233 avatar Nov 12 '25 08:11 whm233

The reason is that the remote docker image file cannot be fetched without an internet connection. You can download the docker image file to your local device first, and then load it with the docker load command.

xieyxclack avatar Nov 13 '25 04:11 xieyxclack

原因是远程 Docker 镜像文件需要网络连接才能获取。您可以先将 Docker 镜像文件下载到本地设备,然后再使用命令加载它docker load

我已经将镜像下载下来了

Image `RUNTIME_SANDBOX_REGISTRY=agentscope-registry.ap-southeast-1.cr.aliyuncs.com alias_agent run --task "你好"` 命令用什么呢

Youmo1 avatar Nov 13 '25 04:11 Youmo1

原因是远程 Docker 镜像文件需要网络连接才能获取。您可以先将 Docker 镜像文件下载到本地设备,然后再使用命令加载它docker load

我已经将镜像下载下来了

Image RUNTIME_SANDBOX_REGISTRY=agentscope-registry.ap-southeast-1.cr.aliyuncs.com alias_agent run --task "你好" 命令用什么呢

What is the output when running alias_agent run --task "你好" directly?

xieyxclack avatar Nov 13 '25 05:11 xieyxclack

原因是远程Docker镜像文件需要网络连接才能获取。您可以先将Docker镜像文件下载到本地设备,然后再使用命令加载它docker load

我已经将镜像下载下来了 图像 RUNTIME_SANDBOX_REGISTRY=agentscope-registry.ap-southeast-1.cr.aliyuncs.com alias_agent run --task "你好"命令格式

直接运行的输出结果是什么alias_agent run --task "你好"

运行alias_agent run --task "你好"

Image

运行RUNTIME_SANDBOX_REGISTRY=agentscope-registry.ap-southeast-1.cr.aliyuncs.com alias_agent run --task "你好"

Image

Youmo1 avatar Nov 13 '25 05:11 Youmo1

Please tag the docker image without agentscope-registry.ap-southeast-1.cr.aliyuncs.com:

docker tag agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-alias:latest agentscope/runtime-sandbox-alias:latest

Or you can export RUNTIME_SANDBOX_REGISTRY="agentscope-registry.ap-southeast-1.cr.aliyuncs.com", then run your script: alias_agent run --task "你好".

rayrayraykk avatar Nov 13 '25 07:11 rayrayraykk

Please tag the docker image without agentscope-registry.ap-southeast-1.cr.aliyuncs.com:

docker tag agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-alias:latest agentscope/runtime-sandbox-alias:latest

Or you can export RUNTIME_SANDBOX_REGISTRY="agentscope-registry.ap-southeast-1.cr.aliyuncs.com", then run your script: alias_agent run --task "你好".

According to the method you provided, we obtained the following results:

Image

Youmo1 avatar Nov 13 '25 07:11 Youmo1

Please tag the docker image without agentscope-registry.ap-southeast-1.cr.aliyuncs.com: docker tag agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-alias:latest agentscope/runtime-sandbox-alias:latest Or you can export RUNTIME_SANDBOX_REGISTRY="agentscope-registry.ap-southeast-1.cr.aliyuncs.com", then run your script: alias_agent run --task "你好".

According to the method you provided, we obtained the following results:

Image

what about running docker tag agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-alias:latest agentscope/runtime-sandbox-alias:latest

xieyxclack avatar Nov 13 '25 07:11 xieyxclack

Please tag the docker image without agentscope-registry.ap-southeast-1.cr.aliyuncs.com: docker tag agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-alias:latest agentscope/runtime-sandbox-alias:latest Or you can export RUNTIME_SANDBOX_REGISTRY="agentscope-registry.ap-southeast-1.cr.aliyuncs.com", then run your script: alias_agent run --task "你好".

According to the method you provided, we obtained the following results: Image

what about running docker tag agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-alias:latest agentscope/runtime-sandbox-alias:latest

the same result

Image

Youmo1 avatar Nov 13 '25 07:11 Youmo1

See https://runtime.agentscope.io/en/sandbox_troubleshooting.html for debugging your sandbox troubleshooting

rayrayraykk avatar Nov 14 '25 06:11 rayrayraykk

This issue is marked as stale because there has been no activity for 21 days. Remove stale label or add new comments or this issue will be closed in 3 day.

github-actions[bot] avatar Dec 08 '25 09:12 github-actions[bot]

Close this stale issue.

github-actions[bot] avatar Dec 12 '25 09:12 github-actions[bot]