agents
agents copied to clipboard
built-in credit card task
notable:
- used TaskGroup to orchestrate detail collection
- use Luhn's algorithm to validate credit card numbers
- can automatically detect whether the card issuer is Mastercard, American Express, Visa, Discover, or other
- allow for users to restart the process if requested
- a new TaskGroup is created and awaited