Skip to content

Commit 92a6a4e

Browse files
committed
chore: upgrade AI plugin versions from 1.0.0 to 2.0.0
- ai-proxy: 1.0.0 -> 2.0.0 - ai-statistics: 1.0.0 -> 2.0.0 - model-router: 1.0.0 -> 2.0.0 Updated default versions, metadata labels, and config file names.
1 parent 87455cd commit 92a6a4e

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

all-in-one/scripts/config-template/ai-gateway.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ ROOT=$(pwd)
55
cd - >/dev/null
66
source $ROOT/../base.sh
77

8-
AI_PROXY_VERSION=${AI_PROXY_VERSION:-1.0.0}
9-
AI_STATISTICS_VERSION=${AI_STATISTICS_VERSION:-1.0.0}
10-
MODEL_ROUTER_VERSION=${MODEL_ROUTER_VERSION:-1.0.0}
8+
AI_PROXY_VERSION=${AI_PROXY_VERSION:-2.0.0}
9+
AI_STATISTICS_VERSION=${AI_STATISTICS_VERSION:-2.0.0}
10+
MODEL_ROUTER_VERSION=${MODEL_ROUTER_VERSION:-2.0.0}
1111

1212
declare -a GENERATED_INGRESSES
1313

@@ -123,7 +123,7 @@ metadata:
123123
higress.io/wasm-plugin-built-in: \"true\"
124124
higress.io/wasm-plugin-category: ai
125125
higress.io/wasm-plugin-name: ai-proxy
126-
higress.io/wasm-plugin-version: 1.0.0
126+
higress.io/wasm-plugin-version: 2.0.0
127127
name: ai-proxy.internal
128128
namespace: higress-system
129129
resourceVersion: \"1\"
@@ -171,8 +171,8 @@ metadata:
171171
higress.io/wasm-plugin-built-in: \"true\"
172172
higress.io/wasm-plugin-category: ai
173173
higress.io/wasm-plugin-name: ai-statistics
174-
higress.io/wasm-plugin-version: 1.0.0
175-
name: ai-statistics-1.0.0
174+
higress.io/wasm-plugin-version: 2.0.0
175+
name: ai-statistics-2.0.0
176176
namespace: higress-system
177177
resourceVersion: \"1\"
178178
spec:
@@ -181,7 +181,7 @@ spec:
181181
matchRules:$AI_STATISTICS_MATCH_RULES
182182
phase: UNSPECIFIED_PHASE
183183
priority: 900
184-
url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/ai-statistics:$AI_STATISTICS_VERSION" >"$WASM_PLUGIN_CONFIG_FOLDER/ai-statistics-1.0.0.yaml"
184+
url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/ai-statistics:$AI_STATISTICS_VERSION" >"$WASM_PLUGIN_CONFIG_FOLDER/ai-statistics-2.0.0.yaml"
185185

186186
echo -e "\
187187
apiVersion: extensions.higress.io/v1alpha1
@@ -194,7 +194,7 @@ metadata:
194194
higress.io/wasm-plugin-built-in: \"true\"
195195
higress.io/wasm-plugin-category: ai
196196
higress.io/wasm-plugin-name: model-router
197-
higress.io/wasm-plugin-version: 1.0.0
197+
higress.io/wasm-plugin-version: 2.0.0
198198
name: model-router.internal
199199
namespace: higress-system
200200
resourceVersion: \"1\"

all-in-one/scripts/config-template/ai-proxy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ROOT=$(pwd)
55
cd - >/dev/null
66
source $ROOT/../base.sh
77

8-
AI_PROXY_VERSION=${AI_PROXY_VERSION:-1.0.0}
8+
AI_PROXY_VERSION=${AI_PROXY_VERSION:-2.0.0}
99

1010
if [ -n "$AZURE_OPENAI_SERVICE_URL" ]; then
1111
AZURE_OPENAI_SERVICE_DOMAIN=$(echo "$AZURE_OPENAI_SERVICE_URL" | awk -F[/:] '{print $4}')

0 commit comments

Comments
 (0)