forked from mrepol742/project-canis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
60 lines (50 loc) · 1.9 KB
/
.env.example
File metadata and controls
60 lines (50 loc) · 1.9 KB
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
# Your bot name goes here
PROJECT_CANIS_ALIAS=Canis
# whether to enable debug mode
# in debug mode, additional logging is enabled
DEBUG=true
# the command prefix used to trigger bot commands
COMMAND_PREFIX=!
# the bot can be configured to respond to commands with or without a prefix
# if COMMAND_PREFIX_LESS is true, the bot will respond to commands without a prefix
COMMAND_PREFIX_LESS=true
# the port on which the server will run
PORT=3000
# the path to the Chrome executable for Puppeteer
# Windows (Edge)
# PUPPETEER_EXEC_PATH=C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe
# Windows (Firefox)
# PUPPETEER_EXEC_PATH=C:\\Program Files\\Mozilla Firefox\\firefox.exe
# Linux (Firefox)
# PUPPETEER_EXEC_PATH=/usr/bin/firefox
# Windows (Brave)
# PUPPETEER_EXEC_PATH=C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe
# Linux (Brave)
# PUPPETEER_EXEC_PATH=/usr/bin/brave-browser
# Windows (Chrome)
# PUPPETEER_EXEC_PATH=C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe
# Linux
PUPPETEER_EXEC_PATH=/opt/google/chrome/google-chrome
# automatically reloads commands as they are edited
AUTO_RELOAD=false
# the database connection URL
DATABASE_URL=mysql://root@localhost:3306/project_canis
REDIS_URL=redis://localhost:6379
# the AI provider to use for AI model access
# currently canis support openrouter and groq
# its not mandatory to have set both API keys, you can use only one of them
# if you want to use openrouter, set OPEN_ROUTER_API_KEY
# if you want to use groq, set GROQ_API_KEY
AI_PROVIDER=groq
# the OpenRouter API key for AI model access
# openrouter: https://openrouter.ai/
OPEN_ROUTER_API_KEY=
# the Groq API key for AI model access
# groq: https://groq.com/
GROQ_API_KEY=
ALLOW_QUERY_CACHING=true
QUERY_CACHING_COUNT=1000
QUERY_CACHING_TTL=3600
# the shell to use for executing commands
# this should be a valid shell path, e.g., /bin/bash, /bin/zsh
EXEC_SHELL=/bin/bash