-
-
Couldn't load subscription status.
- Fork 23
First pass at getting layouts #1453
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1453 +/- ##
==========================================
+ Coverage 47.89% 49.93% +2.03%
==========================================
Files 122 124 +2
Lines 20802 21252 +450
==========================================
+ Hits 9964 10613 +649
+ Misses 10838 10639 -199 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Area.mp4 |
| if "params" in spec: | ||
| continue | ||
| # Size limit to avoid token bloat | ||
| if len(spec_str) > 1500: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe remove
First pass at implementing #1447
layout.mp4
The Three-Step Approach:
Break layout generation into three sequential steps similar to Planner -> Agents:
Planning (1 LLM call): Create a layout plan with natural language instructions for each subplot
Parallel Generation (N LLM calls): Generate each subplot independently in parallel
Assembly (Python): Programmatically combine specs into hconcat/vconcat structure
Note, these are the valid properties outside:
Within each subplot:
Visual Representation
TODOs:
Would also like to address #1431