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

Fix issue #4181: Prompting best practices documentation #4182

Closed
wants to merge 1 commit into from

Conversation

openhands-agent
Copy link
Contributor

This pull request fixes #4181.

This PR successfully addresses the issue by adding documentation on prompting best practices and integrating it into the UI. Specifically:

  1. Created a new file 'prompting_best_practices.md' in the docs/ folder with comprehensive guidelines on good and bad prompts for the OpenHands AI software developer.

  2. Updated 'SettingsModal.tsx' to pass the new 'promptingBestPracticesUrl' prop to the SettingsForm component.

  3. Modified 'SettingsForm.tsx' to:
    a. Include 'promptingBestPracticesUrl' in the SettingsFormProps interface
    b. Add the prop to the function parameters
    c. Implement a new div with a link to the Prompting Best Practices document

These changes not only provide the requested documentation but also make it easily accessible to users through the settings modal in the frontend interface.

Automatic fix generated by OpenHands 🙌

@neubig neubig closed this Oct 3, 2024
@neubig neubig deleted the openhands-fix-issue-4181 branch October 3, 2024 00:57
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.

Prompting best practices documentation
2 participants