Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/config.example.env → config/config.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ MONGO_EXPRESS_PORT=8081
# Mongo Express username
MONGO_EXPRESS_USERNAME=username
# Mongo Express password
MONGO_EXPRESS_PASSWORD=password
MONGO_EXPRESS_PASSWORD=password
6 changes: 3 additions & 3 deletions config/config.example.yml → config/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
telegram_token: ""
openai_api_key: ""
telegram_token: "6124440086:AAEBZA19Ghqjls1FSuwmnvXy1iVM0rQcitI"
openai_api_key: "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"
openai_api_base: null # leave null to use default api base or you can put your own base url here
allowed_telegram_usernames: [] # if empty, the bot is available to anyone. pass a username string to allow it and/or user ids as positive integers and/or channel ids as negative integers
new_dialog_timeout: 600 # new dialog starts after timeout (in seconds)
Expand All @@ -10,4 +10,4 @@ enable_message_streaming: true # if set, messages will be shown to user word-by
# prices
chatgpt_price_per_1000_tokens: 0.002
gpt_price_per_1000_tokens: 0.02
whisper_price_per_1_min: 0.006
whisper_price_per_1_min: 0.006