mirror of
https://github.com/stripe/ai.git
synced 2026-09-14 18:39:59 +08:00
17 lines
407 B
Python
17 lines
407 B
Python
"""Configuration types for Stripe Agent Toolkit."""
|
|
|
|
from typing import Optional
|
|
from typing_extensions import TypedDict
|
|
|
|
|
|
class Context(TypedDict, total=False):
|
|
"""Context for MCP connection."""
|
|
account: Optional[str]
|
|
customer: Optional[str]
|
|
mode: Optional[str]
|
|
|
|
|
|
class Configuration(TypedDict, total=False):
|
|
"""Configuration for Stripe Agent Toolkit."""
|
|
context: Optional[Context]
|