Retry openai 11

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
This commit is contained in:
Víctor Mayoral Vilches 2025-05-08 19:53:56 +02:00
parent e2b2032792
commit 3e91f1f06c
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
- pip3 install -e .
- pip install litellm langchain transformers torch openai tqdm
- echo "Checking environment variables..."
- echo "OPENAI_API_KEY is set:" && echo $([[ -n $OPENAI_API_KEY ]] && echo 'YES' || echo 'NO')
- echo "TRYVAR is set:" && echo $([[ -n $TRYVAR ]] && echo 'YES' || echo 'NO')
- echo "TRYVAR is:" && echo $TRYVAR
@ -31,7 +31,7 @@
- echo "TRYVAR is:" && echo $TRYVAR
- python3 benchmarks/cybermetric/CyberMetric_evaluator.py --model_name $MODEL_NAME --file_path $BENCHMARK_FILE --api_key "${OPENAI_API_KEY}"
- python3 benchmarks/cybermetric/CyberMetric_evaluator.py --model_name $MODEL_NAME --file_path $BENCHMARK_FILE --api_key $OPENAI_API_KEY
# - curl http://localhost:8000/api/tags # validate that ollama is running
variables:
OLLAMA_API_BASE: "http://localhost:8000"