mirror of https://github.com/aliasrobotics/cai.git
Optimize CI job, fixes
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
This commit is contained in:
parent
26e286578d
commit
946c4ffa28
|
|
@ -10,12 +10,13 @@
|
|||
before_script:
|
||||
- pip3 install -e .
|
||||
- pip install litellm langchain transformers torch openai tqdm
|
||||
- for var in $(compgen -e); do
|
||||
- |
|
||||
for var in $(compgen -e); do
|
||||
if [[ $var == CTF_* && -n ${!var} ]]; then
|
||||
export $var="${!var}"
|
||||
fi
|
||||
done
|
||||
- curl http://localhost:11434/api/tags
|
||||
- curl $OLLAMA_API_BASE/api/tags # validate that ollama is running
|
||||
variables:
|
||||
OLLAMA_API_BASE: "http://localhost:8000"
|
||||
OPENROUTER_API_BASE: "https://openrouter.ai/api/v1"
|
||||
|
|
|
|||
Loading…
Reference in New Issue