diff --git a/agentscore/types.py b/agentscore/types.py index e6de9cb..ddc9211 100644 --- a/agentscore/types.py +++ b/agentscore/types.py @@ -355,9 +355,9 @@ class AssociateWalletResponse(TypedDict): "wallet_not_trusted", "api_error", "payment_required", - # Merchant-emitted convenience codes (e.g. martin-estate's on_denied wraps gate - # denials into wine-specific business codes). Not emitted by the AgentScore API - # itself but appear in 4xx bodies the SDK may surface back to callers. + # Merchant-emitted convenience codes — not emitted by the AgentScore API itself, + # but may appear in 4xx bodies passing through the SDK from merchants whose gate + # `on_denied` hook wraps AgentScore denials into business-domain codes. "operator_verification_required", "compliance_denied", "compliance_error", diff --git a/pyproject.toml b/pyproject.toml index e3636bc..5429741 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "agentscore-py" -version = "2.0.1" +version = "2.0.2" description = "Python client for the AgentScore APIs" readme = "README.md" license = "MIT" diff --git a/tests/test_integration.py b/tests/test_integration.py index d0d633b..5f838b8 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -5,10 +5,13 @@ from agentscore import AgentScore API_KEY = os.environ.get("AGENTSCORE_API_KEY") -BASE_URL = os.environ.get("AGENTSCORE_BASE_URL", "http://api.dev.agentscore.internal") +BASE_URL = os.environ.get("AGENTSCORE_BASE_URL") TEST_ADDRESS = "0x339559a2d1cd15059365fc7bd36b3047bba480e0" -pytestmark = pytest.mark.skipif(not API_KEY, reason="AGENTSCORE_API_KEY not set") +pytestmark = pytest.mark.skipif( + not (API_KEY and BASE_URL), + reason="AGENTSCORE_API_KEY and AGENTSCORE_BASE_URL must both be set", +) def test_get_reputation_shape(): diff --git a/uv.lock b/uv.lock index 31bc290..a625f0b 100644 --- a/uv.lock +++ b/uv.lock @@ -4,7 +4,7 @@ requires-python = ">=3.11" [[package]] name = "agentscore-py" -version = "2.0.1" +version = "2.0.2" source = { editable = "." } dependencies = [ { name = "httpx" },