From 470ef0861589dced5d9dc0dfb1f465ab56bba971 Mon Sep 17 00:00:00 2001 From: Dallas Young <33672687+dallastexas92@users.noreply.github.com> Date: Thu, 1 May 2025 14:32:35 -0400 Subject: [PATCH] Update create_invoice.py Remove the example invoice function as the 'else' statement already captures this --- tools/create_invoice.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tools/create_invoice.py b/tools/create_invoice.py index 9fcd1aa..11f51fd 100644 --- a/tools/create_invoice.py +++ b/tools/create_invoice.py @@ -69,15 +69,3 @@ def create_invoice(args: dict) -> dict: "invoiceURL": "https://pay.example.com/invoice/12345", "reference": "INV-12345", } - -def create_invoice_example(args: dict) -> dict: - """ - This is an example implementation of the CreateInvoice tool - Doesn't call any external services, just returns a dummy response - """ - print("[CreateInvoice] Creating invoice with:", args) - return { - "invoiceStatus": "generated", - "invoiceURL": "https://pay.example.com/invoice/12345", - "reference": "INV-12345", - }