diff --git a/agentscore/types.py b/agentscore/types.py index 0052ecc..546bbd7 100644 --- a/agentscore/types.py +++ b/agentscore/types.py @@ -167,7 +167,6 @@ class DecisionPolicy(TypedDict, total=False): min_age: int blocked_jurisdictions: list[str] allowed_jurisdictions: list[str] - require_entity_type: str class _AssessResponseRequired(TypedDict): diff --git a/pyproject.toml b/pyproject.toml index c27205d..88b5669 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "agentscore-py" -version = "1.5.0" +version = "1.6.0" description = "Python client for the AgentScore trust and reputation API" readme = "README.md" license = "MIT" diff --git a/tests/test_client.py b/tests/test_client.py index b0c2e2f..83e6930 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -574,7 +574,6 @@ def test_assess_sends_compliance_policy_fields(): "require_sanctions_clear": True, "min_age": 90, "blocked_jurisdictions": ["KP", "IR"], - "require_entity_type": "agent", } client.assess(ADDRESS, policy=policy) body = json.loads(route.calls.last.request.content) @@ -582,7 +581,6 @@ def test_assess_sends_compliance_policy_fields(): assert body["policy"]["require_sanctions_clear"] is True assert body["policy"]["min_age"] == 90 assert body["policy"]["blocked_jurisdictions"] == ["KP", "IR"] - assert body["policy"]["require_entity_type"] == "agent" @pytest.mark.asyncio