feat: add instance view

This commit is contained in:
jialin
2026-03-26 18:20:55 +08:00
committed by jialin
parent 33fe180997
commit adde7fba37
31 changed files with 1171 additions and 702 deletions
+2
View File
@@ -16,6 +16,7 @@ export default {
'menu.models.benchmark': 'Benchmarks',
'menu.models.benchmarkDetail': 'Benchmark Details',
'menu.models.providers': 'Providers',
'menu.models.instances': 'Instances',
'menu.models.routes': 'Routes',
'menu.modelCatalog': 'Каталог',
'menu.resources': 'Ресурсы',
@@ -45,4 +46,5 @@ export default {
// 2. 'menu.models.benchmarkDetail': 'Benchmark Details',
// 3. 'menu.models.providers': 'Providers',
// 4. 'menu.models.routes': 'Routes',
// 5. 'menu.models.instances': 'Instances',
// ========== End of To-Do List ==========
+5 -1
View File
@@ -283,7 +283,9 @@ export default {
'models.form.maxContextLength': 'Maximum Context Length',
'models.form.backend.helperText':
'Not enabled yet. Will be enabled after deployment. ',
'models.table.instance.benchmark': 'Run Benchmark'
'models.table.instance.benchmark': 'Run Benchmark',
'models.table.modelView': 'Model View',
'models.table.instanceView': 'Instance View'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -294,4 +296,6 @@ export default {
// 3. 'models.form.enableModelRoute.tips': 'Enable Model Route',
// 4. 'models.form.backend.vllm': 'Built-in support for NVIDIA, AMD, Ascend, Hygon, Moore Threads, Iluvatar, MetaX, T-Head PPU devices.',
// 5. 'models.form.backend.sglang': 'Built-in support for NVIDIA, AMD, Ascend, Moore Threads, MetaX, T-Head PPU devices.',
// 6. 'models.table.modelView': 'Model View',
// 7. 'models.table.instanceView': 'Instance View'
// ========== End of To-Do List ==========
+8 -1
View File
@@ -49,7 +49,11 @@ export default {
'noresult.providers.nofound': 'No matching providers found.',
'noresult.routes.title': 'No Routes',
'noresult.routes.subTitle': 'No routes have been added yet.',
'noresult.routes.nofound': 'No matching routes found.'
'noresult.routes.nofound': 'No matching routes found.',
'noresult.instances.title': 'No instances',
'noresult.instances.subTitle':
'There are no running model instances. Deploy a model to create one automatically.',
'noresult.instances.nofound': 'No matching instances found.'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -66,4 +70,7 @@ export default {
// 8. 'noresult.routes.title': 'No Routes',
// 9. 'noresult.routes.subTitle': 'No routes have been added yet.',
// 10. 'noresult.routes.nofound': 'No matching routes found.'
// 11. 'noresult.instances.title': 'No instances',
// 12. 'noresult.instances.subTitle': 'There are no running model instances. Deploy a model to create one automatically.',
// 13. 'noresult.instances.nofound': 'No matching instances found.'
// ========================================================================