""" Configuration settings for HTR API on Phoenix """ from pydantic_settings import BaseSettings from typing import Optional class Settings(BaseSettings): jwt_secret: str = "JWT_SECRET=73936f5c69eb84f013a531a35ffae040855cd6c7891ed1bb0872780fe8c56274" jwt_algorithm: str = "HS256" # vLLM Configuration - matches your local setup vllm_endpoint: str = "http://127.0.0.1:8001/v1/chat/completions" vllm_model: str = "qwen3-vl" # served-model-name from vLLM # LLM Configuration (OpenRouter or local vLLM) llm_endpoint: str = "http://127.0.0.1:8001/v1/chat/completions" llm_model: str = "qwen3-vl" openrouter_api_key: Optional[str] = None # Database database_path: str = "/home/fenix/htr-api/htr_usage.db" # Limits max_image_size: int = 10 * 1024 * 1024 # WordPress upgrade_url: str = "https://prometheuscafe.com/plans" class Config: env_file = ".env" env_file_encoding = "utf-8" settings = Settings()