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

Deciduus agent zero fork changes (Incorporate changes from deciduus agent-zero fork [~ IDE terminal compatibility, docker quality of life, prompt optimizations, execution handling & style encoding, NVIDIA CUDA (GPU support) ~ frdel#19] #2

Merged

Conversation

DanozWorld
Copy link
Owner

Merged pull request #1 from deciduus/main
Incorporate changes from deciduus agent-zero fork [~ IDE terminal compatibility, docker quality of life, prompt optimizations, execution handling & style encoding, NVIDIA CUDA (GPU support) ~ https://github.com/frdel/pull/19]

deciduus and others added 18 commits July 29, 2024 21:51
added pycharm ide running compatibility
slight edit of prompt
slight revision of prompt
refined prompts for clarity and conciseness adding some new steps for logic and reducing chance of subordinate looping
increased main prompt timeout to 2 min so it won't run so quick for so little value
…jects.

made edits to the docker.py to include a health check (threaded), it does not impact framework flow. also added a check and reconnect mechanic for the docker due to some issues where it would disconnect, try terminal commands, and get no response (wasting api responses). the health check thread also follows up to close the docker container upon force close in IDE, which helps save computer resources.
knowledge tool was updated to include a top 3~ hits for wikipedia content to build the contextual awareness.
timed input was adjusted upward for testing.
…d errors (lack of gpu resources), to prevent the error in tool.

docker wait time was decreased as the connection doesnt take that long
print style added encoding utf-8 to prevent read errors, this resulted in many terminal tasks that were previously "erroring" due to simply taking too long or having a bad symbol to actually function better.
edited docker file and readme to allow for nvidia cuda support, giving access to gpu resources.

added readme steps to enable the GPU compatibility setup
…d perms for container.

added commented out code in dockerfile for trying to import torch and numpy at start, but currently having issues with it initiating (but pushing so others have it incase they want to try to fix)
- build.txt same ^
- code execution tool got elaborate updates for prompt-handling pass-back, idle timeout, comparing old and new outputs to prevent spamming user with identitical terminal commands, and a summarized output feature to prevent slamming API with too many tokens on big terminal tasks, also the terminal will retain control and the agent will not check in unless idle proc (about 30 seconds)
-docker.py sleeps slightly longer anticipating some may take longer to spin up the new container.
-docker compose has been added for the user to create the nvidia image - please see readme for detailed instructions
-dockerfile has been adjusted, new container (old is commended out), timezone check for automatic selection on image compose. organized a bit.
-main.py adjusted the commented out docker names just for clarity
-adjusted rate_limiter.py to fix a bug when the agent was doing long tasks and lots of calls
-added intensive README section for ubuntu and nvidia cuda runtime setup and troubleshooting.
-timeout_input was reverted to original value
…plified)

extensive dockerfile changes to remove venv and add custom package installs when composing docker image. (machine learning packages)
adjusted the image reference comment on main for my fork
readme is a bit of a mess (not gracefully formatted additions) but i added some troubleshooting info for docker/ubuntu composing, images etc.
…ide (for redundant reference)

code execution tool summarizing extended for more context on longer files.
…ning in ide pycharm some slight updates to prompt
…ning in ide pycharm some slight updates to prompt
Incorporate changes from deciduus agent-zero fork [~ IDE terminal compatibility, docker quality of life, prompt optimizations, execution handling & style encoding, NVIDIA CUDA (GPU support) ~ frdel#19]
@DanozWorld
Copy link
Owner Author

Updated my personal forked changes branch (refactor/my-changes-tazeeka-fusion) with deciduus agent-zero forked changes

@DanozWorld DanozWorld merged commit 5bc646f into refactor/my-changes-tazeeka-fusion Aug 19, 2024
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.

2 participants