fix/proxmox-reconnect-v1.2.3 #125
@ -290,8 +290,8 @@ jobs:
|
|||||||
'{model: $model, messages: [{role: "user", content: $content}], stream: false}' \
|
'{model: $model, messages: [{role: "user", content: $content}], stream: false}' \
|
||||||
> /tmp/body.json
|
> /tmp/body.json
|
||||||
echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] PR #${PR_NUMBER} - Calling liteLLM API ($(wc -c < /tmp/body.json) bytes)..."
|
echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] PR #${PR_NUMBER} - Calling liteLLM API ($(wc -c < /tmp/body.json) bytes)..."
|
||||||
HTTP_CODE=$(curl -s --max-time 300 --connect-timeout 30 \
|
HTTP_CODE=$(curl -s --max-time 600 --connect-timeout 30 \
|
||||||
--retry 3 --retry-delay 10 --retry-connrefused --retry-max-time 300 \
|
--retry 2 --retry-delay 15 --retry-connrefused --retry-max-time 1200 \
|
||||||
-o /tmp/llm_response.json -w "%{http_code}" \
|
-o /tmp/llm_response.json -w "%{http_code}" \
|
||||||
-X POST "$LITELLM_URL/chat/completions" \
|
-X POST "$LITELLM_URL/chat/completions" \
|
||||||
-H "Authorization: Bearer $LITELLM_API_KEY" \
|
-H "Authorization: Bearer $LITELLM_API_KEY" \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user