| 9 | |
| 10 | @dataclass(frozen=True) |
| 11 | class LLMConfig: |
| 12 | provider: str = os.getenv("LLM_PROVIDER", "openai") |
| 13 | model: str = os.getenv("LLM_MODEL", "gpt-4o") |
| 14 | api_key: str = os.getenv("OPENAI_API_KEY", "") |
| 15 | temperature: float = float(os.getenv("LLM_TEMPERATURE", "0.3")) |
| 16 | max_tokens: int = int(os.getenv("LLM_MAX_TOKENS", "4096")) |
| 17 | |
| 18 | |
| 19 | @dataclass(frozen=True) |
nothing calls this directly
no outgoing calls
no test coverage detected