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

coding agent; logging #1011

Merged
merged 21 commits into from
May 2, 2023
Merged

coding agent; logging #1011

merged 21 commits into from
May 2, 2023

Conversation

sonichi
Copy link
Contributor

@sonichi sonichi commented Apr 26, 2023

Why are these changes needed?

  • Implement a simple coding agent. Documentation is not added as the design could change in future.
  • Added a test example where the coding agent is able to recover from failure.
  • Added an experimental support for logging, documentation and test cases.

Related issue number

Checks

Copy link
Collaborator

@BeibinLi BeibinLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@qingyun-wu qingyun-wu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on the use of a code block pattern here to extract code. I do this and some other light postprocessing checks for a separate project where I generate and execute code. For example, I require the model to do code infilling instead of freeform generation. So I know what the last line of the code should be and I can do additional extraction based on that.

Copy link
Collaborator

@victordibia victordibia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good starting point for these sort of functionality.

@sonichi sonichi changed the title coding agent coding agent; logging May 1, 2023
@qingyun-wu qingyun-wu mentioned this pull request May 1, 2023
3 tasks
@sonichi sonichi marked this pull request as ready for review May 2, 2023 14:46
@sonichi sonichi added this pull request to the merge queue May 2, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 2, 2023
@sonichi sonichi added this pull request to the merge queue May 2, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 2, 2023
@sonichi sonichi added this pull request to the merge queue May 2, 2023
Merged via the queue into main with commit 19aee67 May 2, 2023
@sonichi sonichi deleted the agent branch May 2, 2023 21:49
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