mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
Stac ChangeRequests Discussion Snapshots included
This commit is contained in:
BIN
doc/gsoc/2025/images/stacreq.png
Normal file
BIN
doc/gsoc/2025/images/stacreq.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 190 KiB |
BIN
doc/gsoc/2025/images/stacreq2.png
Normal file
BIN
doc/gsoc/2025/images/stacreq2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 310 KiB |
@@ -498,6 +498,9 @@ The challenge is that the Stac framework surfaces these mistakes only as console
|
|||||||
This limitation is significant because I wanted to implement a reset feature: if the LLM generates invalid Stac code, the app should be able to roll back to the last known good state. With the current design, this isn’t feasible. I even reached out to the Stac founders, who confirmed that proper error bubbling is planned but won’t be available anytime soon.
|
This limitation is significant because I wanted to implement a reset feature: if the LLM generates invalid Stac code, the app should be able to roll back to the last known good state. With the current design, this isn’t feasible. I even reached out to the Stac founders, who confirmed that proper error bubbling is planned but won’t be available anytime soon.
|
||||||
|
|
||||||
The only real workaround right now would be to fork Stac and patch it manually—something I’m still debating. For the time being, we’ve mitigated the issue by tuning the system prompt and restricting generations to a small, well-understood subset of Stac. This approach has been working decently so far.
|
The only real workaround right now would be to fork Stac and patch it manually—something I’m still debating. For the time being, we’ve mitigated the issue by tuning the system prompt and restricting generations to a small, well-understood subset of Stac. This approach has been working decently so far.
|
||||||
|
Have also discussed with the maintainer's of Stac regarding this issue:
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
#### Stac Code Clipping
|
#### Stac Code Clipping
|
||||||
When the API response is highly complex, agents may generate a verbose UI specification. This can cause the resulting Stac JSON to become so large that it exceeds the LLM’s output context window, resulting in clipped (incomplete) JSON.
|
When the API response is highly complex, agents may generate a verbose UI specification. This can cause the resulting Stac JSON to become so large that it exceeds the LLM’s output context window, resulting in clipped (incomplete) JSON.
|
||||||
@@ -518,6 +521,7 @@ Our temporary solution is to restrict the feature to a smaller subset of Stac. H
|
|||||||
- <b>Expanding Restricted Stac SDUI Widget Library</b>
|
- <b>Expanding Restricted Stac SDUI Widget Library</b>
|
||||||
|
|
||||||
At present, the Stac-driven UI generation supports only a subset of widget types. This restricts the richness of UIs generated from complex API responses. Future work will focus on extending the Stac SDUI widget library to cover advanced layout controls, interactive inputs, and custom components. This expansion will allow the system to handle more nuanced use cases and generate production-grade UIs directly from structured data.
|
At present, the Stac-driven UI generation supports only a subset of widget types. This restricts the richness of UIs generated from complex API responses. Future work will focus on extending the Stac SDUI widget library to cover advanced layout controls, interactive inputs, and custom components. This expansion will allow the system to handle more nuanced use cases and generate production-grade UIs directly from structured data.
|
||||||
|
Stac's maintainers have proposed a `Custom DSL` and a `flutter-code to stac generator` so this issue could be solved in the near future.
|
||||||
|
|
||||||
- <b> Integration Tests for AI Features </b>
|
- <b> Integration Tests for AI Features </b>
|
||||||
Automated testing remains critical to ensure reliability and prevent regressions in AI-driven workflows. Integration tests will be built for tool generation and AI UI Designer
|
Automated testing remains critical to ensure reliability and prevent regressions in AI-driven workflows. Integration tests will be built for tool generation and AI UI Designer
|
||||||
|
|||||||
Reference in New Issue
Block a user