Skip to content

Fix for exceptions on install if .env files are missing#135

Closed
evosite-ltd wants to merge 1 commit intoopenai-php:mainfrom
evosite-ltd:hotfix-install-env-missing
Closed

Fix for exceptions on install if .env files are missing#135
evosite-ltd wants to merge 1 commit intoopenai-php:mainfrom
evosite-ltd:hotfix-install-env-missing

Conversation

@evosite-ltd
Copy link
Copy Markdown
Contributor

It's common to use env.{environment-name} and when that's the case, the installer throws exceptions which this resolves.

Fixes #120

It's common to use env.{environment-name} and when that's the case, the installer throws exceptions which this resolves.

Fixes openai-php#120
Copy link
Copy Markdown
Collaborator

@iBotPeaches iBotPeaches left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you feel we should just swallow this error? The install command then looks to work, but didn't touch either file.

What about a little warning emitted saying "File not found" for those respective ones so those with a non-standard setup could see it and adapt?

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.

Updating env files on openai:install

2 participants