-
Notifications
You must be signed in to change notification settings - Fork 44.6k
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
Add Nix flakes support through direnv #1091
Add Nix flakes support through direnv #1091
Conversation
f015880
to
82ff10c
Compare
82ff10c
to
c373a1c
Compare
3914b59
to
dddba79
Compare
dddba79
to
06f80dc
Compare
06f80dc
to
5345a86
Compare
* Nix (https://nixos.org) is a reproducible build system. * Enables Nix users to use/develop Auto-GPT, without installing PIP or any other future Auto-GPT dependency.
5345a86
to
5d0d506
Compare
I missed this PR, so I'm late to the party, but I feel like merging this feels a little pre-mature. Let me explain why. First, I don't want to attribute bad motive to @superherointj, the discrete repository looks good quality and as a user you look trustworthy. But what happens when this repository suddenly contains malicious code/script? Maybe at least pin the commit that is being used, so that you can consciously screen the versioned code first before upgrading to latest. What do you think @p-i- @richbeales @nponeccop ? |
If repo had malicious code it wouldn't be executed by default. Unless user granted permission through
Then, for every change of package (and there may be many as things are going), it would also mean making a PR to Auto-GPT to bump hashes. I don't know if that is a good flow. Specially at current rate things are changing. I wouldn't mind if the repository was under Auto-GPT ownership and some review process would take place. But then, |
Let me know if you want repository ownership to be transferred to |
* update funccall * code format * update to comments * update notebook * remove test for py3.7 * allow funccall to class functions * add test and clean up notebook * revise notebook and test * update * update mathagent * Update flaml/autogen/agent/agent.py Co-authored-by: Chi Wang <[email protected]> * Update flaml/autogen/agent/user_proxy_agent.py Co-authored-by: Chi Wang <[email protected]> * revise to comments * revise function call design, notebook and test. add doc * code format * ad message_to_dict function * update mathproxyagent * revise docstr * update * Update flaml/autogen/agent/math_user_proxy_agent.py Co-authored-by: Chi Wang <[email protected]> * Update flaml/autogen/agent/math_user_proxy_agent.py Co-authored-by: Qingyun Wu <[email protected]> * Update flaml/autogen/agent/user_proxy_agent.py Co-authored-by: Qingyun Wu <[email protected]> * simply funccall in userproxyagent, rewind auto-gen.md, revise to comments * code format * update * remove notebook for another pr * revise oai_conversation part in agent, revise function exec in user_proxy_agent * update test_funccall * update * update * fix pydantic version * Update test/autogen/test_agent.py Co-authored-by: Chi Wang <[email protected]> * fix bug * fix bug * update * update is_termination_msg to accept dict --------- Co-authored-by: Chi Wang <[email protected]> Co-authored-by: Qingyun Wu <[email protected]> Co-authored-by: Li Jiang <[email protected]>
Add Nix flakes support through direnv
Background
Nix (https://nixos.org) is a reproducible build system. Having Nix support enables Nix users to develop and use Auto-GPT without having to deal with inner dependencies (such as PIP or any other future Auto-GPT dependency).
To avoid Nix pollution to Auto-GPT repository, I have made Nix files a discrete repository:
Note: This only affects nix / direnv users and direnv explicitly requests permission from user to enable this.
Changes
Documentation
Test Plan
To test:
PR Quality Checklist