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

Allow null input in StepRequestBody for Continuous Chat Mode #5164

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

hunteraraujo
Copy link
Contributor

Background

This pull request updates the StepRequestBody class to allow for a null value in the input field. The change is critical for supporting a "Continuous Chat Mode" where the absence of an input message should be allowed to automatically trigger the next step in the agent conversation.

Changes 🏗️

Updated the StepRequestBody class to set the default value of input to None instead of ..., thus allowing null values.

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 Auto-GPT?   -5 pts
    • Have you also run agbenchmark to verify that these changes do not regress performance?   +10 pts

@netlify
Copy link

netlify bot commented Sep 6, 2023

Deploy Preview for auto-gpt-docs ready!

Name Link
🔨 Latest commit 2883ea0
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/64f8b255de1ffa0008d99a26
😎 Deploy Preview https://deploy-preview-5164--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.

forge/autogpt/sdk/schema.py Outdated Show resolved Hide resolved
@hunteraraujo hunteraraujo merged commit 6834e38 into master Sep 6, 2023
11 of 16 checks passed
@hunteraraujo hunteraraujo deleted the haraujo/null-input branch September 6, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants