chore: pluggable locale config

This commit is contained in:
jialin
2025-10-13 14:40:26 +08:00
parent caabeb065a
commit b5fa40047a
30 changed files with 731 additions and 575 deletions
+3 -2
View File
@@ -399,7 +399,7 @@ export async function evaluationsModelSpec(
};
}
export async function queryBackendList() {
export async function queryBackendList(params?: { cluster_id: number }) {
return request<{
items: {
backend_name: string;
@@ -410,6 +410,7 @@ export async function queryBackendList() {
versions: string[];
}[];
}>(BACKEND_LIST_API, {
method: 'GET'
method: 'GET',
params
});
}