-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
60 lines (46 loc) · 907 Bytes
/
config.py
File metadata and controls
60 lines (46 loc) · 907 Bytes
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
MAX_OUTPUT_TOKEN=5000
DEFAULT_OUTPUT_TOKENS = 1024
IGNORED_DIRECTORIES = {
'node_modules', '.git', '.next',
'resources', '.venv', '.idea', '__pycache__', "env", "logs"
}
INPUT_TOKEN_PRICE = 0.000003
OUTPUT_TOKEN_PRICE = 0.000015
IGNORED_FILE_PATTERNS = [
# Dependency Directories
"node_modules/*",
"venv/*",
".env/*",
"__pycache__/*",
"*.pyc",
# Build Directories
"build/*",
"dist/*",
"*.egg-info/*",
# IDE Directories
".idea/*",
".vscode/*",
"*.swp",
# System Files
".DS_Store",
"Thumbs.db",
# Log Files
"*.log",
"logs/*",
# Test Directories
"tests/*",
"test/*",
# Documentation
"docs/*",
"*.md",
"LICENSE",
# Package Files
"package-lock.json",
"yarn.lock",
"poetry.lock",
# Database Files
"*.sqlite",
"*.db"
# Config Files
"*.properties"
]