@@ -1368,11 +1368,11 @@ function computeTableData() {
1368
1368
let fullRemark = ' ' ;
1369
1369
if (item .model .startsWith (' o1-' )) {
1370
1370
if (item .has_o1_reason ) {
1371
- remark = ' ✨API 可靠' ;
1372
- fullRemark = ' 返回响应中包含非空 reasoning_tokens,API 可靠' ;
1371
+ remark = t ( ' O1_API_RELIABLE ' ); // ' ✨API 可靠'
1372
+ fullRemark = t ( ' O1_API_RELIABLE_DETAIL ' ); // ' 返回响应中包含非空 reasoning_tokens,API 可靠'
1373
1373
} else {
1374
- remark = ' ⚠️API 可能存在问题' ;
1375
- fullRemark = ' 返回响应中不包含 reasoning_tokens 或为空,API 非官' ;
1374
+ remark = t ( ' O1_API_POSSIBLE_ISSUE ' ); // ' ⚠️API 可能存在问题'
1375
+ fullRemark = t ( ' O1_API_POSSIBLE_ISSUE_DETAIL ' ); // ' 返回响应中不包含 reasoning_tokens 或为空,API 非官'
1376
1376
}
1377
1377
}
1378
1378
@@ -1437,14 +1437,15 @@ function computeTableData() {
1437
1437
// 针对 o1- 模型的特殊处理
1438
1438
if (item .model .startsWith (' o1-' )) {
1439
1439
if (item .has_o1_reason ) {
1440
- remark += ' / ✨API 可靠' ;
1441
- fullRemark += ' ; 返回响应中包含非空 reasoning_tokens,API 可靠' ;
1440
+ remark = t ( ' O1_API_RELIABLE ' ); // ' ✨API 可靠'
1441
+ fullRemark = t ( ' O1_API_RELIABLE_DETAIL ' ); // ' 返回响应中包含非空 reasoning_tokens,API 可靠'
1442
1442
} else {
1443
- remark += ' / ⚠️API 可能存在问题' ;
1444
- fullRemark += ' ; 返回响应中不包含 reasoning_tokens 或为空,API 可能存在问题 ' ;
1443
+ remark = t ( ' O1_API_POSSIBLE_ISSUE ' ); // ' ⚠️API 可能存在问题'
1444
+ fullRemark = t ( ' O1_API_POSSIBLE_ISSUE_DETAIL ' ); // ' 返回响应中不包含 reasoning_tokens 或为空,API 非官'
1445
1445
}
1446
1446
}
1447
1447
1448
+
1448
1449
data .push ({
1449
1450
key: ` inconsistent-${ index} ` ,
1450
1451
status: status,
@@ -1593,27 +1594,28 @@ function showTemperatureVerificationResult(result) {
1593
1594
// 定义列
1594
1595
const columns = [
1595
1596
{
1596
- title: ' 测试 ' ,
1597
+ title: t ( ' TEST ' ) ,
1597
1598
dataIndex: ' testNumber' ,
1598
1599
key: ' testNumber' ,
1599
1600
width: ' 20%' ,
1600
1601
},
1601
1602
{
1602
- title: ' 响应 ' ,
1603
+ title: t ( ' RESPONSE ' ) ,
1603
1604
dataIndex: ' response' ,
1604
1605
key: ' response' ,
1605
1606
width: ' 80%' ,
1606
1607
},
1607
1608
];
1608
1609
1610
+
1609
1611
Modal .info ({
1610
1612
title: t (' TEMPERATURE_VERIFICATION_RESULT' ),
1611
1613
content: h (' div' , {}, [
1612
1614
h (' p' , {style: ' font-weight: bold;' }, ` 当前待验证模型:${ result .model } ` ),
1613
1615
h (
1614
1616
' p' ,
1615
1617
{},
1616
- ' 参考值:c3.5 = 51(gcp测试),gpt-4o = 59,gpt-4o-mini = 32(azure测试) '
1618
+ t ( ' REFERENCE_VALUES ' )
1617
1619
),
1618
1620
h (
1619
1621
aTable,
@@ -1789,15 +1791,15 @@ const cloudDataList = ref([]);
1789
1791
1790
1792
const localListStyle = computed (() => {
1791
1793
if (localCacheList .value .length > 4 ) {
1792
- return { maxHeight: ' 320px' , overflowY: ' auto' };
1794
+ return {maxHeight: ' 320px' , overflowY: ' auto' };
1793
1795
} else {
1794
1796
return {};
1795
1797
}
1796
1798
});
1797
1799
1798
1800
const cloudListStyle = computed (() => {
1799
1801
if (cloudDataList .value .length > 5 ) {
1800
- return { maxHeight: ' 420px' , overflowY: ' auto' };
1802
+ return {maxHeight: ' 420px' , overflowY: ' auto' };
1801
1803
} else {
1802
1804
return {};
1803
1805
}
0 commit comments