Removed unused files, updated templates, added gpt service and small fixes on Django

This commit is contained in:
2025-11-03 13:02:15 +01:00
parent 96e2377073
commit 212b8d39a9
25 changed files with 861 additions and 492 deletions

View File

@@ -0,0 +1,13 @@
import os
from dotenv import load_dotenv
load_dotenv()
class Config:
"""Configuration settings for the GPT Service."""
API_KEY = os.getenv("API_KEY")
PROVIDER_NAME = os.getenv("PROVIDER_NAME", "openai")
MODEL_NAME = os.getenv("MODEL_NAME", "gpt-4")
HOST_URL = os.getenv("HOST_URL")
LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO")