Closed dovinmu closed 1 year ago
ohooo, okay which aipl
gives me /opt/homebrew/bin/aipl
hmmm
wait a minute...
(venv-aipl-test) rowan@seshat test % whereis aipl
aipl: /Users/rowan/Documents/test/venv-aipl-test/bin/aipl
(venv-aipl-test) rowan@seshat test % which aipl
/opt/homebrew/bin/aipl
ah okay which
is the one to go by
whereis searches for "possibly useful" files, while which only searches for executables
okay I removed the aipl file from my homebrew bin and now I'm running aipl from the local dir, which is on the latest develop version of saulpw/aipl. Still getting this error.
Ah this is being caused by this:
if 'OPENAI_API_KEY' not in os.environ or 'OPENAI_API_ORG' not in os.environ:
raise AIPLException('''OPENAI_API_KEY and OPENAI_API_ORG envvars must be set for !llm''')
I forgot to source
my envvars, but somehow wasn't getting this nice error message
running into this weird aipl-breaking bug, which I am not getting in my main aipl dev folder but is only happening when I clone the repo and install it in a new environment:
I get the same thing with those commands in a file, although I have to add a command after
!llm
that tries to do something with what it outputs.