Have ANTHROPIC_API_KEY env variable set ( dont have OPENAI_API_KEY set).
Run gptscript using any anthropic model
User i asked to set OPENAI_API_KEY
gptscript --cache=false --default-model='claude-3-opus-20240229 from github.com/gptscript-ai/claude3-openai-shim' examples/bob.gpt
2024/03/28 15:41:20 OPENAI_API_KEY is not set. Please set the OPENAI_API_KEY environment variable
Expected Behavior:
There should be no need to set OPENAI_API_KEY when using models other than OPENAI models.
Steps to reproduce the problem:
Have
ANTHROPIC_API_KEY
env variable set ( dont haveOPENAI_API_KEY
set).Run gptscript using any anthropic model
User i asked to set
OPENAI_API_KEY
Expected Behavior: There should be no need to set
OPENAI_API_KEY
when using models other than OPENAI models.