Skip to content

Read env variables from .env instead of manually exporting to terminal #865

@xinyu-dev

Description

@xinyu-dev

Version

1.3

Which installation method(s) does this occur on?

No response

Describe the bug.

Currently, as shown in the tutorial, users maually export API keys to terminal. See here. I might have missed it. It would be great to add a feature to allow user create a .env file with API keys. Also, in the docs please add clear instructions on how to figure for non-NVIDIA models, such as the name of the OpenAI API key (e..g OPENAI_API_KEY or something else).

Minimum reproducible example

Relevant log output

No response

Other/Misc.

No response

Code of Conduct

  • I agree to follow the NeMo Agent toolkit Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report

Metadata

Metadata

Assignees

Labels

Needs TriageNeed team to review and classifybugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions