Files
secure-agent/agent/config.py
T

19 lines
405 B
Python

from pathlib import Path
from pydantic_settings import BaseSettings
PROJECT_ROOT = Path(__file__).parent.parent
class Settings(BaseSettings):
anthropic_api_key: str
model: str = "claude-sonnet-4-5-20250929"
safedir: str = "./workspace"
max_tokens: int = 500
model_config = {"env_file": PROJECT_ROOT / ".env"}
# create singleton instance, causes validation
settings = Settings()