Spaces:
Sleeping
Sleeping
File size: 658 Bytes
b2d5b74 0395151 b2d5b74 0395151 b2d5b74 0395151 b2d5b74 7574047 b2d5b74 7574047 0395151 b2d5b74 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
"""
🇬🇧 Module: config.py
Purpose: Central configuration for environment variables and constants.
🇷🇺 Модуль: config.py
Назначение: централизованная конфигурация переменных окружения и констант проекта.
"""
import os
# === Featherless.ai Configuration ===
FEATHERLESS_API_KEY = os.getenv("featherless")
FEATHERLESS_MODEL = "meta-llama/Meta-Llama-3.1-8B-Instruct"
# === External API Configuration ===
EXTERNAL_API_URL = os.getenv("EXTERNAL_API_URL")
# === Request / Connection Settings ===
REQUEST_TIMEOUT = 15
DEBUG = os.getenv("DEBUG", "false").lower() == "true"
|