File size: 935 Bytes
330b6e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Testing Environment Configuration
FLASK_ENV=testing
FLASK_DEBUG=True
TESTING=True
SECRET_KEY=test-secret-key

# Groq API Configuration (Testing)
GROQ_API_KEY=test_groq_api_key
GROQ_MODEL=mixtral-8x7b-32768

# Database Configuration (Testing - In-memory SQLite)
DATABASE_URL=sqlite:///:memory:
SQLALCHEMY_DATABASE_URI=sqlite:///:memory:

# Redis Configuration (Testing - Disabled or separate DB)
REDIS_URL=redis://localhost:6379/1
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=1
REDIS_PASSWORD=

# Session Configuration
SESSION_TYPE=filesystem
SESSION_PERMANENT=False
SESSION_USE_SIGNER=True
SESSION_KEY_PREFIX=chat_agent_test:

# Chat Agent Configuration
DEFAULT_LANGUAGE=python
MAX_CHAT_HISTORY=10
CONTEXT_WINDOW_SIZE=5
SESSION_TIMEOUT=300

# API Configuration
MAX_TOKENS=1024
TEMPERATURE=0.5
STREAM_RESPONSES=False

# Logging Configuration
LOG_LEVEL=WARNING
LOG_FILE=logs/chat_agent_test.log