Skip to content

AI UI Designer & Tool Generation Feature #874

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

Open
wants to merge 48 commits into
base: main
Choose a base branch
from

Conversation

synapsecode
Copy link
Contributor

PR Description

This PR includes the work done on AI UI Designer and Tool Generation Feature.
Tool Generation is fully complete.
AI UI Designer works but needs multiple system prompt optimizations such as:

  • narrowing down to a limited list of supported widgets for better accuracy
  • SDUI Error Handling and fallback (need to manually modify Stac package by forking)
  • improving the system prompt to generate a better UI on the first try using layout knowledge
  • handling cases where SDUI output is too big and model output is getting clipped

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

We encourage you to add relevant test cases.

  • Yes
  • No, and this is why: TBD

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

synapsecode and others added 30 commits August 6, 2025 08:35
Renamed the example directory to genai_example, updated package name in pubspec.yaml, and added pubspec_overrides.yaml for local dependency overrides. Updated pubspec.lock to reflect new and overridden dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants