From 80f5822968ddd87ff8472bbed3429aa7ce973c2a Mon Sep 17 00:00:00 2001 From: Kent Dong Date: Mon, 23 Dec 2024 11:25:44 +0800 Subject: [PATCH 1/2] Revert "fix: Hide AI related menu items" (#388) --- frontend/src/pages/_defaultProps.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/pages/_defaultProps.tsx b/frontend/src/pages/_defaultProps.tsx index 8e43a54f..bb27072c 100644 --- a/frontend/src/pages/_defaultProps.tsx +++ b/frontend/src/pages/_defaultProps.tsx @@ -60,7 +60,6 @@ export default { { name: 'menu.aiServiceManagement', icon: , - hideFromMenu: true, children: [ { name: 'menu.llmProviderManagement', @@ -88,7 +87,6 @@ export default { { name: 'menu.consumerManagement', path: '/consumer', - hideFromMenu: true, icon: , }, { From 99a3c469ee4f163e9708b7f6321382c165b5e63c Mon Sep 17 00:00:00 2001 From: rinfx <893383980@qq.com> Date: Mon, 23 Dec 2024 14:21:42 +0800 Subject: [PATCH 2/2] update priority (#389) --- backend/sdk/src/main/resources/plugins/ai-cache/spec.yaml | 4 ++-- .../sdk/src/main/resources/plugins/ai-statistics/spec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/sdk/src/main/resources/plugins/ai-cache/spec.yaml b/backend/sdk/src/main/resources/plugins/ai-cache/spec.yaml index 2b3cc62c..9ad8c1ea 100644 --- a/backend/sdk/src/main/resources/plugins/ai-cache/spec.yaml +++ b/backend/sdk/src/main/resources/plugins/ai-cache/spec.yaml @@ -16,8 +16,8 @@ info: name: johnlanni gatewayMinVersion: "2.0.0" spec: - phase: AUTHN - priority: 10 + phase: default + priority: 800 configSchema: openAPIV3Schema: type: object diff --git a/backend/sdk/src/main/resources/plugins/ai-statistics/spec.yaml b/backend/sdk/src/main/resources/plugins/ai-statistics/spec.yaml index 84279848..d293c5dd 100644 --- a/backend/sdk/src/main/resources/plugins/ai-statistics/spec.yaml +++ b/backend/sdk/src/main/resources/plugins/ai-statistics/spec.yaml @@ -17,7 +17,7 @@ info: name: rinfx spec: phase: default - priority: 200 + priority: 900 configSchema: openAPIV3Schema: type: object