55 lines
2 KiB
INI
55 lines
2 KiB
INI
# Static Configuration Properties
|
|
# Using flattened key format with prefixes for consistent access
|
|
|
|
# Auth configuration
|
|
Auth_ALGORITHM = HS256
|
|
Auth_TOKEN_TYPE = bearer
|
|
|
|
# OpenAI configuration
|
|
Connector_AiOpenai_API_URL = https://api.openai.com/v1/chat/completions
|
|
Connector_AiOpenai_API_SECRET = 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
|
|
Connector_AiOpenai_MODEL_NAME = gpt-4o
|
|
Connector_AiOpenai_TEMPERATURE = 0.2
|
|
Connector_AiOpenai_MAX_TOKENS = 2000
|
|
|
|
# Anthropic configuration
|
|
Connector_AiAnthropic_API_URL = https://api.anthropic.com/v1/messages
|
|
Connector_AiAnthropic_API_SECRET = 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
|
|
Connector_AiAnthropic_MODEL_NAME = claude-3-opus-20240229
|
|
Connector_AiAnthropic_TEMPERATURE = 0.2
|
|
Connector_AiAnthropic_MAX_TOKENS = 2000
|
|
|
|
# File management configuration
|
|
File_Management_MAX_UPLOAD_SIZE_MB = 50
|
|
File_Management_CLEANUP_INTERVAL = 240
|
|
|
|
# Logging configuration
|
|
Logging_FORMAT = %(asctime)s - %(levelname)s - %(name)s - %(message)s
|
|
Logging_DATE_FORMAT = %Y-%m-%d %H:%M:%S
|
|
Logging_CONSOLE_ENABLED = True
|
|
Logging_FILE_ENABLED = True
|
|
Logging_ROTATION_SIZE = 10485760
|
|
Logging_BACKUP_COUNT = 5
|
|
|
|
# Security configuration (for future use)
|
|
Security_PASSWORD_MIN_LENGTH = 8
|
|
Security_PASSWORD_REQUIRE_UPPERCASE = True
|
|
Security_PASSWORD_REQUIRE_LOWERCASE = True
|
|
Security_PASSWORD_REQUIRE_NUMBERS = True
|
|
Security_PASSWORD_REQUIRE_SPECIAL = True
|
|
Security_FAILED_LOGIN_LIMIT = 5
|
|
Security_LOCK_DURATION_MINUTES = 30
|
|
|
|
# Agent Webcrawler configuration
|
|
Agent_Webcrawler_TIMEOUT = 10
|
|
Agent_Webcrawler_MAX_URLS = 3
|
|
Agent_Webcrawler_MAX_TOKENS = 30000
|
|
Agent_Webcrawler_USER_AGENT = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
|
|
Agent_Webcrawler_SEARCH_ENGINE = https://html.duckduckgo.com/html/?q=
|
|
Agent_Webcrawler_MAX_SEARCH_KEYWORDS = 3
|
|
Agent_Webcrawler_MAX_SEARCH_RESULTS = 5
|
|
|
|
# Agent Coder configuration
|
|
Agent_Coder_INSTALL_TIMEOUT = 180
|
|
Agent_Coder_EXECUTION_TIMEOUT = 60
|
|
Agent_Coder_EXECUTION_RETRY = 5
|