Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions agentscore/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 5 additions & 2 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading