fix(ops): report Ollama embed failures accurately
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
This commit is contained in:
@@ -108,8 +108,16 @@ curl_probe "110 proxy secondary" "$PROXY_SECONDARY_URL" "/api/version" 10 && pro
|
||||
if [[ "$RUN_EMBED_PROBE" == "1" ]]; then
|
||||
say ""
|
||||
say "Embedding runtime probe model=${EMBED_MODEL} timeout=${EMBED_TIMEOUT}s"
|
||||
[[ "$primary_version_ok" == "1" ]] && embed_probe "GCP-A embed" "$PRIMARY_URL" || status_line WARN "GCP-A embed" "skipped because /api/version is not healthy"
|
||||
[[ "$secondary_version_ok" == "1" ]] && embed_probe "GCP-B embed" "$SECONDARY_URL" || status_line WARN "GCP-B embed" "skipped because /api/version is not healthy"
|
||||
if [[ "$primary_version_ok" == "1" ]]; then
|
||||
embed_probe "GCP-A embed" "$PRIMARY_URL" || true
|
||||
else
|
||||
status_line WARN "GCP-A embed" "skipped because /api/version is not healthy"
|
||||
fi
|
||||
if [[ "$secondary_version_ok" == "1" ]]; then
|
||||
embed_probe "GCP-B embed" "$SECONDARY_URL" || true
|
||||
else
|
||||
status_line WARN "GCP-B embed" "skipped because /api/version is not healthy"
|
||||
fi
|
||||
if [[ "$INCLUDE_111_EMBED" == "1" ]]; then
|
||||
embed_probe "111 embed" "$FALLBACK_URL" || true
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user