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

Fixed stacking prompt instructions #5520

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

NeonN3mesis
Copy link
Contributor

@NeonN3mesis NeonN3mesis commented Oct 4, 2023

Background

prompt instructions were stacking making the agent eventually return an error because the prompt was full of repeating instructions

Changes πŸ—οΈ

in agent.py build_prompt resets extra_messages eliminating stacking instructions similar to the fix @Pwuts implemented here 563df6c

PR Quality Scorecard ✨

  • Have you used the PR description template?   +2 pts
  • Is your pull request atomic, focusing on a single change?   +5 pts
  • Have you linked the GitHub issue(s) that this PR addresses?   +5 pts
  • Have you documented your changes clearly and comprehensively?   +5 pts
  • Have you changed or added a feature?   -4 pts
    • Have you added/updated corresponding documentation?   +4 pts
    • Have you added/updated corresponding integration tests?   +5 pts
  • Have you changed the behavior of AutoGPT?   -5 pts
    • Have you also run agbenchmark to verify that these changes do not regress performance?   +10 pts

prompt instructions were stacking making the agent eventually return an error because the prompt was full of repeating instructions
fixed issue with prompt instruction stacking
@github-actions github-actions bot added the size/s label Oct 4, 2023
@netlify
Copy link

netlify bot commented Oct 4, 2023

βœ… Deploy Preview for auto-gpt-docs ready!

Name Link
πŸ”¨ Latest commit 0406d9c
πŸ” Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/651cd6da0e0f28000875f72f
😎 Deploy Preview https://deploy-preview-5520--auto-gpt-docs.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@NeonN3mesis NeonN3mesis marked this pull request as ready for review October 4, 2023 03:19
@NeonN3mesis NeonN3mesis requested a review from Pwuts as a code owner October 4, 2023 03:19
@Pwuts Pwuts added bug Something isn't working function: plugins labels Oct 4, 2023
@Pwuts Pwuts added this to the v0.4.8 milestone Oct 4, 2023
@Pwuts Pwuts merged commit f227d5a into Significant-Gravitas:master Oct 4, 2023
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working function: plugins size/s
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants