feat: add model access control

This commit is contained in:
jialin
2025-10-13 15:21:17 +08:00
parent c41e5d9c55
commit bcd1a339f9
9 changed files with 289 additions and 2 deletions
+2
View File
@@ -22,6 +22,8 @@ export const MODEL_EVALUATIONS = '/model-evaluations';
export const BACKEND_LIST_API = '/inference-backends/list';
export const MY_MODELS_API = '/my-models';
const setProxyUrl = (url: string) => {
return `/proxy?url=${encodeURIComponent(url)}`;
};