|
|
@@ -1156,6 +1156,7 @@ export function renderLogContent(
|
|
|
modelPrice = -1,
|
|
|
groupRatio,
|
|
|
user_group_ratio,
|
|
|
+ cacheRatio = 1.0,
|
|
|
image = false,
|
|
|
imageRatio = 1.0,
|
|
|
webSearch = false,
|
|
|
@@ -1174,9 +1175,10 @@ export function renderLogContent(
|
|
|
} else {
|
|
|
if (image) {
|
|
|
return i18next.t(
|
|
|
- '模型倍率 {{modelRatio}},输出倍率 {{completionRatio}},图片输入倍率 {{imageRatio}},{{ratioType}} {{ratio}}',
|
|
|
+ '模型倍率 {{modelRatio}},缓存倍率 {{cacheRatio}},输出倍率 {{completionRatio}},图片输入倍率 {{imageRatio}},{{ratioType}} {{ratio}}',
|
|
|
{
|
|
|
modelRatio: modelRatio,
|
|
|
+ cacheRatio: cacheRatio,
|
|
|
completionRatio: completionRatio,
|
|
|
imageRatio: imageRatio,
|
|
|
ratioType: ratioLabel,
|
|
|
@@ -1185,9 +1187,10 @@ export function renderLogContent(
|
|
|
);
|
|
|
} else if (webSearch) {
|
|
|
return i18next.t(
|
|
|
- '模型倍率 {{modelRatio}},输出倍率 {{completionRatio}},{{ratioType}} {{ratio}},Web 搜索调用 {{webSearchCallCount}} 次',
|
|
|
+ '模型倍率 {{modelRatio}},缓存倍率 {{cacheRatio}},输出倍率 {{completionRatio}},{{ratioType}} {{ratio}},Web 搜索调用 {{webSearchCallCount}} 次',
|
|
|
{
|
|
|
modelRatio: modelRatio,
|
|
|
+ cacheRatio: cacheRatio,
|
|
|
completionRatio: completionRatio,
|
|
|
ratioType: ratioLabel,
|
|
|
ratio,
|
|
|
@@ -1196,9 +1199,10 @@ export function renderLogContent(
|
|
|
);
|
|
|
} else {
|
|
|
return i18next.t(
|
|
|
- '模型倍率 {{modelRatio}},输出倍率 {{completionRatio}},{{ratioType}} {{ratio}}',
|
|
|
+ '模型倍率 {{modelRatio}},缓存倍率 {{cacheRatio}},输出倍率 {{completionRatio}},{{ratioType}} {{ratio}}',
|
|
|
{
|
|
|
modelRatio: modelRatio,
|
|
|
+ cacheRatio: cacheRatio,
|
|
|
completionRatio: completionRatio,
|
|
|
ratioType: ratioLabel,
|
|
|
ratio,
|