-
-
Notifications
You must be signed in to change notification settings - Fork 164
Description
So this isn't really a problem in how Optillm is packaged for Harbor, but might be useful to mention in the optillm notes until it's fixed upstream.
I decided to try optillm and ran into problems. It's working great now, but the environment variables don't exactly align the way it's referenced in either documentation (harbor or optillm upstream).
I had to set these environment variables to get them to work with my harbor.llamacpp:
OPTILLM_APPROACH="auto"
OPTILLM_BASE_URL="http://harborhostname:34401/v1"
OPTILLM_OPENAI_API_KEY="xxx"
OPTILLM_LOG="debug"
OPENAI_API_KEY="xxx"
The noteable changes being the documentation suggests "OPTILLM_BASE-URL" when it only works with "OPTILLM_BASE_URL" and I had to set "OPEN_API_KEY" as "OPTILLM_OPENAPI_API_KEY" didn't seem to work.