Skip to content

Conversation

@kaihendry
Copy link
Contributor

@kaihendry kaihendry commented Apr 16, 2024

I'm not sure why you set it as "<unset>" here, can you please explain?

@ibuildthecloud
Copy link
Contributor

There are providers, mostly local providers (LocalAI, ollama, LMStudio, etc), that don't require a key but there are code paths in gptscript, or maybe the openai client we use, that require the key to be set. Thus the fake value.

We are going to extend the credential framework to handle these magic env vars, so the UX will be much more explicit and better. In the short term I'm fine with the log message.

@ibuildthecloud ibuildthecloud merged commit e224772 into gptscript-ai:main Apr 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants