fix(calllog): 翻译键移回顶层 + 内容上限 2000→8000
- calllogs.* 的 i18n 段此前被插进 upload 段内部,导致新面板全部显示原始键名; 已移到 logs 之后作为顶层键,zh/en 结构复核一致 - 请求体摘要 raw[:2000]→8000、回复文本 _logsafe(...,2000)→8000(5 处), 实测 6000 字提示词可完整落库
This commit is contained in:
1 parent
0e52c6820f
commit
c561a1acab
4 files changed
+71
-66
No files matched your search
+29
-30
@@ -203,6 +203,34 @@ export default {
|
||||
streaming: 'Streaming',
|
||||
loadErr: 'Failed to load logs',
|
||||
},
|
||||
calllogs: {
|
||||
title: 'Call log (persisted)',
|
||||
count: '{n} rows',
|
||||
failN: '{n} failed',
|
||||
avgMs: 'avg {n}ms',
|
||||
startDate: 'Start',
|
||||
endDate: 'End',
|
||||
account: 'Account',
|
||||
model: 'Model',
|
||||
result: 'Result',
|
||||
onlyOk: 'OK only',
|
||||
onlyFail: 'Failed only',
|
||||
keyword: 'Keyword (content/rid/IP/UA)',
|
||||
colTime: 'Time',
|
||||
colAccount: 'Account',
|
||||
colModel: 'Model',
|
||||
colLatency: 'Latency',
|
||||
colStatus: 'Status',
|
||||
colStream: 'Stream',
|
||||
colUa: 'UA',
|
||||
yes: 'yes',
|
||||
no: 'no',
|
||||
detailTitle: 'Call detail',
|
||||
prompt: 'Prompt (request body, truncated)',
|
||||
completion: 'Completion (truncated)',
|
||||
loading: 'Loading…',
|
||||
},
|
||||
|
||||
users: {
|
||||
viewLogs: 'View logs',
|
||||
viewActivity: 'Activity',
|
||||
@@ -819,34 +847,5 @@ export default {
|
||||
errNotAudio: '{name} is not an audio file (supported: {ext})',
|
||||
errAudioTooBig: '{name} is {size}, over the reference-audio limit of {max} (please trim or compress it)',
|
||||
errBodyBudget: 'This request body is about {size}, over the gateway upload limit (~{max}).',
|
||||
errBodyBudgetTip: 'Please use fewer materials, or smaller images/audio files.',
|
||||
calllogs: {
|
||||
title: 'Call log (persisted)',
|
||||
count: '{n} rows',
|
||||
failN: '{n} failed',
|
||||
avgMs: 'avg {n}ms',
|
||||
startDate: 'Start',
|
||||
endDate: 'End',
|
||||
account: 'Account',
|
||||
model: 'Model',
|
||||
result: 'Result',
|
||||
onlyOk: 'OK only',
|
||||
onlyFail: 'Failed only',
|
||||
keyword: 'Keyword (content/rid/IP/UA)',
|
||||
colTime: 'Time',
|
||||
colAccount: 'Account',
|
||||
colModel: 'Model',
|
||||
colLatency: 'Latency',
|
||||
colStatus: 'Status',
|
||||
colStream: 'Stream',
|
||||
colUa: 'UA',
|
||||
yes: 'yes',
|
||||
no: 'no',
|
||||
detailTitle: 'Call detail',
|
||||
prompt: 'Prompt (request body, truncated)',
|
||||
completion: 'Completion (truncated)',
|
||||
loading: 'Loading…',
|
||||
},
|
||||
|
||||
},
|
||||
errBodyBudgetTip: 'Please use fewer materials, or smaller images/audio files.', },
|
||||
}
|
||||
+29
-30
@@ -203,6 +203,34 @@ export default {
|
||||
streaming: '流式',
|
||||
loadErr: '加载日志失败',
|
||||
},
|
||||
calllogs: {
|
||||
title: '调用日志(持久化)',
|
||||
count: '共 {n} 条',
|
||||
failN: '失败 {n}',
|
||||
avgMs: '平均 {n}ms',
|
||||
startDate: '开始日期',
|
||||
endDate: '结束日期',
|
||||
account: '账号',
|
||||
model: '模型',
|
||||
result: '结果',
|
||||
onlyOk: '仅成功',
|
||||
onlyFail: '仅失败',
|
||||
keyword: '关键词(内容/rid/IP/UA)',
|
||||
colTime: '时间',
|
||||
colAccount: '账号',
|
||||
colModel: '模型',
|
||||
colLatency: '耗时',
|
||||
colStatus: '状态',
|
||||
colStream: '流式',
|
||||
colUa: 'UA',
|
||||
yes: '是',
|
||||
no: '否',
|
||||
detailTitle: '调用详情',
|
||||
prompt: '提示词(请求体,截断记录)',
|
||||
completion: '回复(截断记录)',
|
||||
loading: '加载中…',
|
||||
},
|
||||
|
||||
users: {
|
||||
viewLogs: '查看日志',
|
||||
viewActivity: '查看活动',
|
||||
@@ -818,34 +846,5 @@ export default {
|
||||
errNotAudio: '{name} 不是音频文件(支持 {ext})',
|
||||
errAudioTooBig: '{name} 有 {size},超过参考音频上限 {max}(请裁剪或压缩后再传)',
|
||||
errBodyBudget: '本次请求体约 {size},超过网关上送上限(约 {max})。',
|
||||
errBodyBudgetTip: '请减少素材数量,或换体积更小的图片/音频。',
|
||||
calllogs: {
|
||||
title: '调用日志(持久化)',
|
||||
count: '共 {n} 条',
|
||||
failN: '失败 {n}',
|
||||
avgMs: '平均 {n}ms',
|
||||
startDate: '开始日期',
|
||||
endDate: '结束日期',
|
||||
account: '账号',
|
||||
model: '模型',
|
||||
result: '结果',
|
||||
onlyOk: '仅成功',
|
||||
onlyFail: '仅失败',
|
||||
keyword: '关键词(内容/rid/IP/UA)',
|
||||
colTime: '时间',
|
||||
colAccount: '账号',
|
||||
colModel: '模型',
|
||||
colLatency: '耗时',
|
||||
colStatus: '状态',
|
||||
colStream: '流式',
|
||||
colUa: 'UA',
|
||||
yes: '是',
|
||||
no: '否',
|
||||
detailTitle: '调用详情',
|
||||
prompt: '提示词(请求体,截断记录)',
|
||||
completion: '回复(截断记录)',
|
||||
loading: '加载中…',
|
||||
},
|
||||
|
||||
},
|
||||
errBodyBudgetTip: '请减少素材数量,或换体积更小的图片/音频。', },
|
||||
}
|
||||
Reference in new issue
Block a user