a2ui-project / a2ui-project/a2ui

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

Đang mở
#1,613 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
component: agent_sdk component: specification P2 type: feature/enhancement
Ngôn ngữ chính
TypeScript
Star
16.4k
Fork
1.3k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
134

Mô tả

## 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.