Add UNSTRUCTURED_API_KEY env support (#4369)

This commit is contained in:
majian
2024-05-20 13:14:17 +08:00
committed by GitHub
parent 3a51f2a778
commit b5204111da
4 changed files with 8 additions and 3 deletions

View File

@@ -365,6 +365,7 @@ class Config:
self.ETL_TYPE = get_env('ETL_TYPE')
self.UNSTRUCTURED_API_URL = get_env('UNSTRUCTURED_API_URL')
self.UNSTRUCTURED_API_KEY = get_env('UNSTRUCTURED_API_KEY')
self.BILLING_ENABLED = get_bool_env('BILLING_ENABLED')
self.CAN_REPLACE_LOGO = get_bool_env('CAN_REPLACE_LOGO')