Coverage for lintro / ai / provider_enum.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2026-04-03 18:53 +0000

1"""AI provider enumeration. 

2 

3Defines the ``AIProvider`` :class:`~enum.StrEnum` that identifies each 

4supported AI backend. Extracted from :mod:`lintro.ai.registry` so that 

5lightweight modules can reference provider identities without pulling in 

6the full registry and its pricing data. 

7""" 

8 

9from __future__ import annotations 

10 

11from enum import StrEnum, auto 

12 

13 

14class AIProvider(StrEnum): 

15 """Supported AI providers.""" 

16 

17 ANTHROPIC = auto() 

18 OPENAI = auto()