feat(calllog): 详情不截断记录(捕获/清洗/入库三处上限全部放开)
- 请求体捕获 8000 → 128KiB(_CONTENT_MAX,可用 CALLLOG_BODY_MAX 调) - 回复文本改用新增的 _content():128KiB 且保留换行/制表(_logsafe 会把换行压成 ?) - 入库上限 CALLLOG_CONTENT_MAX 默认 8000 → 256KiB(实际等于不截断) - 详情新增 prompt_full(完整提取内容,保留换行),与原始 JSON 并列展示 - BODY_BY_RID 有界 128 条,防止宽上限下内存膨胀 - 版本 2.9.1 → 2.9.2
This commit is contained in:
1 parent
ee42754095
commit
4ef03aa8f0
4 files changed
+74
-19
No files matched your search
@@ -124,11 +124,11 @@
|
||||
<span><i>ver</i>{{ detail.ver || '—' }}</span>
|
||||
</div>
|
||||
<div class="sec">
|
||||
<label>{{ t('calllogs.colContent') }}</label>
|
||||
<pre>{{ detail.prompt_text || '—' }}</pre>
|
||||
<label>{{ t('calllogs.colContent') }}(完整,保留换行)</label>
|
||||
<pre>{{ detail.prompt_full || detail.prompt_text || '—' }}</pre>
|
||||
</div>
|
||||
<div class="sec">
|
||||
<label>{{ t('calllogs.prompt') }}</label>
|
||||
<label>{{ t('calllogs.prompt') }}(原始请求体 JSON)</label>
|
||||
<pre>{{ detail.prompt || '—' }}</pre>
|
||||
</div>
|
||||
<div class="sec">
|
||||
@@ -300,7 +300,7 @@ onMounted(loadPage)
|
||||
.sec { margin-top: 12px; }
|
||||
.sec label { font-size: 12px; color: var(--muted-2); }
|
||||
.sec pre {
|
||||
margin: 4px 0 0; padding: 10px 12px; max-height: 260px; overflow: auto;
|
||||
margin: 4px 0 0; padding: 10px 12px; max-height: 460px; overflow: auto;
|
||||
background: var(--surface-2, #f7f8fa); border: 1px solid var(--line); border-radius: 8px;
|
||||
font-size: 12px; line-height: 1.5; white-space: pre-wrap; word-break: break-word;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user