yun tianming commited on
Upload 2 files
Browse files- config/config.yaml +2 -1
- entrypoint.sh +1 -1
config/config.yaml
CHANGED
|
@@ -81,9 +81,10 @@ memory:
|
|
| 81 |
provider: local
|
| 82 |
|
| 83 |
# 压缩配置
|
|
|
|
| 84 |
compression:
|
| 85 |
enabled: true
|
| 86 |
-
threshold:
|
| 87 |
|
| 88 |
# 定时任务
|
| 89 |
cron:
|
|
|
|
| 81 |
provider: local
|
| 82 |
|
| 83 |
# 压缩配置
|
| 84 |
+
# threshold 是比率(0-1),不是 token 数。0.50 = 当上下文使用到模型 context 50% 时触发压缩
|
| 85 |
compression:
|
| 86 |
enabled: true
|
| 87 |
+
threshold: 0.50
|
| 88 |
|
| 89 |
# 定时任务
|
| 90 |
cron:
|
entrypoint.sh
CHANGED
|
@@ -239,7 +239,7 @@ memory:
|
|
| 239 |
# 压缩配置
|
| 240 |
compression:
|
| 241 |
enabled: true
|
| 242 |
-
threshold:
|
| 243 |
|
| 244 |
# 定时任务
|
| 245 |
cron:
|
|
|
|
| 239 |
# 压缩配置
|
| 240 |
compression:
|
| 241 |
enabled: true
|
| 242 |
+
threshold: 0.50
|
| 243 |
|
| 244 |
# 定时任务
|
| 245 |
cron:
|