ソースを参照

fix: align limitation with env (#1819)

### What problem does this PR solve?

try to process the large file will throw a File size exceeds error

### Type of change

- [x] Refactoring

Co-authored-by: Theta Wang (ncu) <chunshan.connect@gmail.com>
tags/v0.10.0
Wang 1年前
コミット
66e4113e0b
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      rag/settings.py

+ 1
- 1
rag/settings.py ファイルの表示

@@ -30,7 +30,7 @@ try:
except Exception as e:
REDIS = {}
pass
DOC_MAXIMUM_SIZE = 128 * 1024 * 1024
DOC_MAXIMUM_SIZE = int(os.environ.get("MAX_CONTENT_LENGTH", 128 * 1024 * 1024))
# Logger
LoggerFactory.set_directory(

読み込み中…
キャンセル
保存