neulab / prompt2model

prompt2model - Generate Deployable Models from Natural Language Instructions
Apache License 2.0
1.96k stars 177 forks source link

Refactor api keys and naming #331

Closed neubig closed 1 year ago

neubig commented 1 year ago

Description

This rather large commit has two main goals:

  1. Remove all "api_key" variables and manage API keys solely through environment variables.
  2. Remove many mentions to OpenAI where they are not necessary.

References

Blocked by

neubig commented 1 year ago

Re: the main question, yes, lightllm automatically loads the API key from environment variables.