Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #126

Open
gtpgg1013 opened this issue Feb 16, 2024 · 3 comments

Comments

@gtpgg1013
Copy link

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
Copy link
Author

캡처

@gtpgg1013
Copy link
Author

image

@raunakk
Copy link

raunakk commented Mar 21, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants