genai-stack icon indicating copy to clipboard operation
genai-stack copied to clipboard

genai-stack-pull-model-1 | Error: one of '--license', '--modelfile', '--parameters', '--system', or '--template' must be specified genai-stack-pull-model-1 exited with code 1

Open gtpgg1013 opened this issue 1 year ago • 3 comments

Hi, Thank you for your help. I used yesterday in my virtualbox (ubuntu 20.04). But, suddenly since this morning, with this "genai-stack-pull-model-1 | Error: one of '--license', '--modelfile', '--parameters', '--system', or '--template' must be specified genai-stack-pull-model-1 exited with code 1" Error, I cannot make docker compose up. I used cmd "docker compose --profile linux up" and "docker compose --profile linux down" several times. I guess this situation occured because of Ollama model downloading, but it is really hard for debugging. Please help me, thank you so much.

gtpgg1013 avatar Feb 16 '24 07:02 gtpgg1013

캡처

gtpgg1013 avatar Feb 16 '24 07:02 gtpgg1013

image

gtpgg1013 avatar Feb 16 '24 07:02 gtpgg1013

I was facing the same issue. There's a problemw ith the way the .env file is created. Check what is the environment variable being passed as "LLM". In my case it was: "llama2 #or any Ollama model tag, gpt-4, gpt-3.5, or claudev2" and not "llama2". Fix the .env file and loaded it in the terminal session and everything started working fine.

raunakk avatar Mar 21 '24 19:03 raunakk