Giter Site home page Giter Site logo

agentgrunt's People

Contributors

aiftimie-oai avatar nikvdp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

agentgrunt's Issues

successfully produced the .gz file despite encountering error

Preparing to build 'git_repo'...
Downloading git binary: 100%|██████████████| 65.5M/65.5M [00:00<00:00, 120MiB/s]
Compressing source dir: 100%|█████████████████| 43/43 [00:02<00:00, 16.66file/s]
Wrote archive to: /content/git_repo.tar.gz

Please upload this file to ChatGPT, and paste the following message into the chat:


Please extract the archive I've uploaded to /tmp, read the contents of tools_for_ai/README_ai.md in it's entirety, and follow the directions listed inside that file.

╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /usr/local/lib/python3.10/dist-packages/agentgrunt/main.py:110 in bundle │
│ │
│ 107 │ print(final_msg) │
│ 108 │ print(f"---\n{gpt_prompt}\n---") │
│ 109 │ │
│ ❱ 110 │ if interactive and local.which("pbcopy"): │
│ 111 │ │ # prompt user if they want to copy it and reveal the file, the │
│ 112 │ │ │
│ 113 │ │ copy = ( │
│ │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │ assume_yes = False │ │
│ │ clone_url = 'file:///content/git_repo' │ │
│ │ destination = PosixPath('/content/git_repo.tar.gz') │ │
│ │ final_msg = 'Wrote archive to: │ │
│ │ /content/git_repo.tar.gz\n\nPlease upload this │ │
│ │ file to ChatGPT, '+47 │ │
│ │ git_binary_dest_path = PosixPath('/root/.cache/agentgrunt/git_binary/gi… │ │
│ │ git_binary_url = 'https://github.com/nikvdp/1bin/releases/downloa… │ │
│ │ git_cache_dir = PosixPath('/root/.cache/agentgrunt/git_binary') │ │
│ │ gpt_prompt = "Please extract the archive I've uploaded to │ │
│ │ /tmp, read the contents of tools_for"+85 │ │
│ │ gpt_tools_dir = PosixPath('/usr/local/lib/python3.10/dist-packag… │ │
│ │ interactive = True │ │
│ │ output_dir = PosixPath('/tmp/tmpl4s7c_vc') │ │
│ │ preserve_history = False │ │
│ │ repo_name = 'git_repo' │ │
│ │ short_name = 'git_repo' │ │
│ │ src_repo = 'git_repo' │ │
│ │ tarball = PosixPath('/tmp/tmp1a26vbuo.tar.gz') │ │
│ │ tarball_path = PosixPath('/tmp/tmp1a26vbuo.tar.gz') │ │
│ │ temp_repo = PosixPath('/tmp/tmpva98u4rv') │ │
│ │ user_code_dir = PosixPath('/tmp/tmpl4s7c_vc/uc') │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/local/lib/python3.10/dist-packages/plumbum/machines/local.py:203 in │
│ which │
│ │
│ 200 │ │ │ if path: │
│ 201 │ │ │ │ cls._program_cache[key] = path │
│ 202 │ │ │ │ return path │
│ ❱ 203 │ │ raise CommandNotFound(progname, list(cls.env.path)) │
│ 204 │ │
│ 205 │ def path(self, *parts): │
│ 206 │ │ """A factory for :class:`LocalPaths <plumbum.path.local.LocalP │
│ │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │ alternatives = ['pbcopy'] │ │
│ │ cls = <class 'plumbum.machines.local.LocalMachine'> │ │
│ │ key = ( │ │
│ │ │ 'pbcopy', │ │
│ │ │ │ │
│ │ '/opt/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr… │ │
│ │ ) │ │
│ │ path = None │ │
│ │ pn = 'pbcopy' │ │
│ │ progname = 'pbcopy' │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────╯
CommandNotFound: (CommandNotFound(...), 'pbcopy', [<LocalPath /opt/bin>,
<LocalPath /usr/local/nvidia/bin>, <LocalPath /usr/local/cuda/bin>, <LocalPath
/usr/local/sbin>, <LocalPath /usr/local/bin>, <LocalPath /usr/sbin>, <LocalPath
/usr/bin>, <LocalPath /sbin>, <LocalPath /bin>, <LocalPath /tools/node/bin>,
<LocalPath /tools/google-cloud-sdk/bin>])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.