diff --git a/tee_gateway/__main__.py b/tee_gateway/__main__.py index caa1346..d6da8c7 100644 --- a/tee_gateway/__main__.py +++ b/tee_gateway/__main__.py @@ -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 @@ -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", ), @@ -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", ), @@ -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", ), @@ -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", ),