Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions all-in-one/scripts/config-template/ai-gateway.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ ROOT=$(pwd)
cd - >/dev/null
source $ROOT/../base.sh

AI_PROXY_VERSION=${AI_PROXY_VERSION:-1.0.0}
AI_STATISTICS_VERSION=${AI_STATISTICS_VERSION:-1.0.0}
MODEL_ROUTER_VERSION=${MODEL_ROUTER_VERSION:-1.0.0}
AI_PROXY_VERSION=${AI_PROXY_VERSION:-2.0.0}
AI_STATISTICS_VERSION=${AI_STATISTICS_VERSION:-2.0.0}
MODEL_ROUTER_VERSION=${MODEL_ROUTER_VERSION:-2.0.0}

declare -a GENERATED_INGRESSES

Expand Down
8 changes: 4 additions & 4 deletions all-in-one/scripts/config-template/ai-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ROOT=$(pwd)
cd - >/dev/null
source $ROOT/../base.sh

AI_PROXY_VERSION=${AI_PROXY_VERSION:-1.0.0}
AI_PROXY_VERSION=${AI_PROXY_VERSION:-2.0.0}

if [ -n "$AZURE_OPENAI_SERVICE_URL" ]; then
AZURE_OPENAI_SERVICE_DOMAIN=$(echo "$AZURE_OPENAI_SERVICE_URL" | awk -F[/:] '{print $4}')
Expand All @@ -15,7 +15,7 @@ fi

function initializeWasmPlugins() {
mkdir -p /data/wasmplugins
WASM_PLUGIN_CONFIG_FILE="/data/wasmplugins/ai-proxy-$AI_PROXY_VERSION.yaml"
WASM_PLUGIN_CONFIG_FILE="/data/wasmplugins/ai-proxy-1.0.0.yaml"

if [ "$CONSOLE_USED" == 'true' -a -f "$WASM_PLUGIN_CONFIG_FILE" ]; then
return
Expand Down Expand Up @@ -64,8 +64,8 @@ metadata:
higress.io/wasm-plugin-built-in: \"true\"
higress.io/wasm-plugin-category: custom
higress.io/wasm-plugin-name: ai-proxy
higress.io/wasm-plugin-version: $AI_PROXY_VERSION
name: ai-proxy-$AI_PROXY_VERSION
higress.io/wasm-plugin-version: 1.0.0
name: ai-proxy-1.0.0
namespace: higress-system
spec:
defaultConfig: {}
Expand Down