Skip to content

Commit 8785b10

Browse files
committed
fix: add default value to x402
1 parent 3cec529 commit 8785b10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intentkit/models/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,12 +952,12 @@ class AgentPublicInfo(BaseModel):
952952
x402_price: Annotated[
953953
float | None,
954954
PydanticField(
955-
default=None,
955+
default=0.01,
956956
description="Price($) of the x402 request",
957957
ge=0.01,
958958
le=1.0,
959959
json_schema_extra={
960-
"x-placeholder": "Enter agent price",
960+
"x-placeholder": "USDC price per request",
961961
"x-step": 0.01,
962962
},
963963
),

0 commit comments

Comments
 (0)