a2ui-project / a2ui-project/a2ui

Allow cuttable keys to be configured per schema/component for stream parsing

Aperta
#1,613 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
component: agent_sdk component: specification P2 type: feature/enhancement
Lingua principale
TypeScript
Stelle
16.4k
Fork
1.3k
Merge medio
2g 13h
PR unite (30g)
134

Descrizione

## Background
The current implementation for cuttable keys in stream parsing is an interim solution, but further improvements are needed as highlighted in review feedback from PR #1581.

## Motivation
- Enhance flexibility and accuracy by enabling configuration of cuttable keys at the schema or component level, rather than only at the catalog level.
- Support future formats and streaming mechanisms for better handling of fragmentable properties.

## Key Tasks
- Research and propose a design for specifying cuttable parameters at the component level using schema analysis (e.g., properties of type DynamicString, ComponentId, etc.).
- Evaluate alternative streaming formats that could simplify or improve robust parsing and fragment handling.
- Consider migration paths from the current catalog-level approach to the proposed schema or component-based solution.
- Prepare a design or technical note outlining options and trade-offs.

## References
- [PR Review Discussion](https://github.com/a2ui-project/a2ui/pull/1581#pullrequestreview-4473826075)
- Related long-term issue: #863

---
This issue tracks future work following PR #1581.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.