Skip to content

Commit

Permalink
feat: Switch to the official 1.0.0 version of ai-proxy plugin (higres…
Browse files Browse the repository at this point in the history
  • Loading branch information
CH3CHO authored May 15, 2024
1 parent af681de commit d1cc2f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions all-in-one/scripts/config-template/ai-proxy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

AZ_PROXY_VERSION=${AI_PROXY_VERSION:-0.0.1}
AZ_PROXY_VERSION=${AI_PROXY_VERSION:-1.0.0}

if [ -n "$AZURE_OPENAI_SERVICE_URL" ]; then
AZURE_OPENAI_SERVICE_DOMAIN=$(echo "$AZURE_OPENAI_SERVICE_URL" | awk -F[/:] '{print $4}')
Expand Down Expand Up @@ -107,8 +107,7 @@ spec:
- moonshot
phase: UNSPECIFIED_PHASE
priority: \"100\"
#url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/ai-proxy:$AZ_PROXY_VERSION
url: oci://docker.io/ch3cho/ai-proxy:$AZ_PROXY_VERSION" > "$WASM_PLUGIN_CONFIG_FILE"
url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/ai-proxy:$AZ_PROXY_VERSION" > "$WASM_PLUGIN_CONFIG_FILE"
}

function initializeMcpBridge() {
Expand Down

0 comments on commit d1cc2f2

Please sign in to comment.