Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
930f74c6
Unverified
Commit
930f74c6
authored
Aug 18, 2023
by
takatost
Committed by
GitHub
Aug 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: remove unuse envs (#912)
parent
3f250c9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
config.py
api/config.py
+0
-7
No files found.
api/config.py
View file @
930f74c6
...
...
@@ -48,9 +48,7 @@ DEFAULTS = {
'WEAVIATE_GRPC_ENABLED'
:
'True'
,
'WEAVIATE_BATCH_SIZE'
:
100
,
'CELERY_BACKEND'
:
'database'
,
'PDF_PREVIEW'
:
'True'
,
'LOG_LEVEL'
:
'INFO'
,
'DISABLE_PROVIDER_CONFIG_VALIDATION'
:
'False'
,
'HOSTED_OPENAI_QUOTA_LIMIT'
:
200
,
'HOSTED_OPENAI_ENABLED'
:
'False'
,
'HOSTED_OPENAI_PAID_ENABLED'
:
'False'
,
...
...
@@ -108,7 +106,6 @@ class Config:
self
.
DEPLOY_ENV
=
get_env
(
'DEPLOY_ENV'
)
self
.
TESTING
=
False
self
.
LOG_LEVEL
=
get_env
(
'LOG_LEVEL'
)
self
.
PDF_PREVIEW
=
get_bool_env
(
'PDF_PREVIEW'
)
# Your App secret key will be used for securely signing the session cookie
# Make sure you are changing this key for your deployment with a strong key.
...
...
@@ -236,10 +233,6 @@ class Config:
self
.
STRIPE_API_KEY
=
get_env
(
'STRIPE_API_KEY'
)
self
.
STRIPE_WEBHOOK_SECRET
=
get_env
(
'STRIPE_WEBHOOK_SECRET'
)
# By default it is False
# You could disable it for compatibility with certain OpenAPI providers
self
.
DISABLE_PROVIDER_CONFIG_VALIDATION
=
get_bool_env
(
'DISABLE_PROVIDER_CONFIG_VALIDATION'
)
# notion import setting
self
.
NOTION_CLIENT_ID
=
get_env
(
'NOTION_CLIENT_ID'
)
self
.
NOTION_CLIENT_SECRET
=
get_env
(
'NOTION_CLIENT_SECRET'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment