Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(env): read variables from .env file #39

Closed
wants to merge 3 commits into from

Conversation

gauravsaini
Copy link

read vars from env file
otherwise use the fallback

@vercel
Copy link

vercel bot commented Apr 12, 2023

@gauravsaini is attempting to deploy a commit to the reworkd Team on Vercel.

A member of the Team first needs to authorize it.

src/utils/chain.ts Outdated Show resolved Hide resolved
@vercel
Copy link

vercel bot commented Apr 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agent-gpt ❌ Failed (Inspect) Apr 12, 2023 7:21am

src/utils/chain.ts Outdated Show resolved Hide resolved
@mrayonnaise
Copy link
Contributor

I have been working on something similar to this too. Maybe we can combine efforts? I am adding the MAX_LOOPS as a config item for phase 1 and then adding it as a setting in the UI in phase 2. My work in progress (WIP) is here:
#51

@gauravsaini
Copy link
Author

@awtkns : Done

src/utils/chain.ts Outdated Show resolved Hide resolved
@chozzz
Copy link
Contributor

chozzz commented Apr 13, 2023

Do you think its a good idea to also update the README on these new variables? It seems that we don't have an .env.example file.

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.

4 participants