Skip to content
Open
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
15 changes: 0 additions & 15 deletions tee_gateway/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
from x402.http.types import RouteConfig
from x402.mechanisms.evm.exact import ExactEvmServerScheme
from x402.mechanisms.evm.upto import UptoEvmServerScheme
from x402.extensions.erc20_approval_gas_sponsoring import (
declare_erc20_approval_gas_sponsoring_extension,
)
from x402.schemas import AssetAmount
from x402.server import x402ResourceServerSync
from x402.session import SessionStore
Expand Down Expand Up @@ -297,9 +294,6 @@ def _init_payment_middleware(facilitator_url: str) -> None:
network=BASE_MAINNET_NETWORK,
),
],
extensions={
**declare_erc20_approval_gas_sponsoring_extension(),
},
mime_type="application/json",
description="Chat completion",
),
Expand All @@ -320,9 +314,6 @@ def _init_payment_middleware(facilitator_url: str) -> None:
network=BASE_MAINNET_NETWORK,
),
],
extensions={
**declare_erc20_approval_gas_sponsoring_extension(),
},
mime_type="application/json",
description="Completion",
),
Expand All @@ -343,9 +334,6 @@ def _init_payment_middleware(facilitator_url: str) -> None:
network=BASE_MAINNET_NETWORK,
),
],
extensions={
**declare_erc20_approval_gas_sponsoring_extension(),
},
mime_type="application/json",
description="Web search",
),
Expand All @@ -366,9 +354,6 @@ def _init_payment_middleware(facilitator_url: str) -> None:
network=BASE_MAINNET_NETWORK,
),
],
extensions={
**declare_erc20_approval_gas_sponsoring_extension(),
},
mime_type="message/ohttp-req",
description="OHTTP-wrapped chat completion",
),
Expand Down
Loading