feat: add create_deerflow_agent SDK entry point (Phase 1) (#1203)

This commit is contained in:
greatmengqi
2026-03-29 15:31:18 +08:00
committed by GitHub
parent 7eb3a150b5
commit 06a623f9c8
10 changed files with 2225 additions and 3 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ from pathlib import Path
import pytest
from deerflow.client import DeerFlowClient, StreamEvent
from deerflow.uploads.manager import PathTraversalError
# Skip entire module in CI or when no config.yaml exists
_skip_reason = None
@@ -321,5 +322,5 @@ class TestLiveErrorResilience:
client.get_artifact("t", "invalid/path")
def test_path_traversal_blocked(self, client):
with pytest.raises(PermissionError):
with pytest.raises(PathTraversalError):
client.delete_upload("t", "../../etc/passwd")