keldenl / gpt-llama.cpp

A llama.cpp drop-in replacement for OpenAI's GPT endpoints, allowing GPT-powered apps to run off local llama.cpp models instead of OpenAI.
MIT License
594 stars 67 forks source link

Issue: Why does (windows cmd) env variable setting work for some but not others? #20

Closed keldenl closed 1 year ago

keldenl commented 1 year ago

I believe

# FOR WINDOWS
# cmd
set OPEN_API_HOST=http://localhost:443
npm run dev

works. but many folks on discord who are getting chatbot-ui working (https://github.com/keldenl/gpt-llama.cpp/blob/master/docs/chatbot-ui-setup-guide.md) can't seem to get set OPEN_API_HOST=http://localhost:443 working and actually setting as an env variable

for windows users, what could be the issue here?

keldenl commented 1 year ago

wait... i think it's literally because i had a typo.. https://github.com/keldenl/gpt-llama.cpp/pull/21 would fix it

keldenl commented 1 year ago

closing since i've merged the fix