Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Use temp file for JSON result passing between steps

Julio Quinteros Prob4e0c4db07b7
diff --git a/.github/workflows/run_observatory_tests.yml b/.github/workflows/run_observatory_tests.yml
index 4f0d5febf46..e0389cb43df 100644
--- a/.github/workflows/run_observatory_tests.yml
+++ b/.github/workflows/run_observatory_tests.yml
@@ -137,7 +137,7 @@ jobs:
if [ "$RUN_STATUS" = "completed" ] || [ "$RUN_STATUS" = "failed" ]; then
echo "Test finished with status: $RUN_STATUS"
- echo "run_result=$STATUS" >> $GITHUB_OUTPUT
+ echo "$STATUS" > /tmp/observatory_result.json
exit 0
fi
@@ -149,7 +149,7 @@ jobs:
- name: Verify test results
run: |
- RESULT='${{ steps.poll.outputs.run_result }}'
+ RESULT=$(cat /tmp/observatory_result.json)
echo "Full result: $RESULT"
STATUS=$(echo "$RESULT" | jq -r '.status')