Closed sweep-ai[bot] closed 8 months ago
autogpts/forge/forge/sdk/abilities/code_generation/code_generation.py
✓
Check autogpts/forge/forge/sdk/abilities/code_generation/code_generation.py with contents:
Ran GitHub Actions for 3c6110d7045692a83eb3240c7a41fadcb5bac5ea:
autogpts/forge/forge/sdk/abilities/registry.py
✓
Check autogpts/forge/forge/sdk/abilities/registry.py with contents:
Ran GitHub Actions for fe64eea258952f0738dfafe93aef5d307d072c54:
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
PR Feedback (click)
Description
This pull request adds code generation abilities to the Forge SDK. It introduces three new abilities:
generate_html
,generate_css
, andgenerate_js
. These abilities allow users to generate HTML, CSS, and JavaScript code respectively based on input parameters.Summary
generate_html
ability to generate HTML code from a dictionary of elements and attributes.generate_css
ability to generate CSS code from a dictionary of selectors and properties.generate_js
ability to return the input JavaScript code.register_abilities
method inregistry.py
to correctly register the new abilities.Fixes #4.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: