Skip to content

Secure, Fast, and Extensible Sandbox runtime for AI agents.

Merge upstream/main into fix/docker-sandbox-image-from-config

高然e08336de45e2
diff --cc server/tests/test_docker_service.py
index 0d9418520,e83fa403f..df50f26d0
--- a/server/tests/test_docker_service.py
+++ b/server/tests/test_docker_service.py
@@@ -18,9 -18,9 +18,9 @@@ import o
import threading
from datetime import datetime, timedelta, timezone
from typing import Any, cast
-from unittest.mock import MagicMock, patch
+from unittest.mock import MagicMock, PropertyMock, patch
- from docker.errors import DockerException, ImageNotFound, NotFound as DockerNotFound
-from docker.errors import APIError, DockerException, NotFound as DockerNotFound
++from docker.errors import APIError, DockerException, ImageNotFound, NotFound as DockerNotFound
import pytest
from fastapi import HTTPException, status
from pydantic import SecretStr, ValidationError