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

Use as an agent: running gish until GPT completes a task. #8

Open
drorm opened this issue Apr 1, 2023 · 0 comments
Open

Use as an agent: running gish until GPT completes a task. #8

drorm opened this issue Apr 1, 2023 · 0 comments
Milestone

Comments

@drorm
Copy link
Owner

drorm commented Apr 1, 2023

Consider the following workflow/loop:

  1. Run gish to generate a unit test
  2. Run the unit test
  3. Get an error
  4. Run Gish in chat mode with the error
  5. Go back to 2.

This can be incredibly useful for a variety of tasks, including writing new features where GPT doesn't get it right the first time and needs to iterate several time before getting it right.

Explore

  • Can we do the plumbing using a shell script as we've done in the git commit script, or do we need some special hooks as we did with #diff?
  • How do we tell if gish is stuck and needs human help :-)?
    • Limit the number of iterations, tell it to ask for help?
    • Provide a y/n continue after each iteration?
@drorm drorm added v0.2 V0.3 and removed v0.2 labels Apr 1, 2023
@drorm drorm added V0.4 and removed V0.3 labels Apr 9, 2023
@drorm drorm added this to the 0.4 milestone Apr 9, 2023
@drorm drorm removed the V0.4 label Apr 9, 2023
@drorm drorm modified the milestones: 0.4, 0.5 Apr 9, 2023
@drorm drorm changed the title Automate loop events like error handling Automate loop events to keep running gish until GPT completes a task Apr 23, 2023
@drorm drorm changed the title Automate loop events to keep running gish until GPT completes a task Automate loop events to keep running gish until GPT completes a task: create an agent. Apr 26, 2023
@drorm drorm changed the title Automate loop events to keep running gish until GPT completes a task: create an agent. Use as an agent: running gish until GPT completes a task. Apr 26, 2023
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

No branches or pull requests

1 participant