Commit 6c330db5 authored by Luca Chang's avatar Luca Chang Committed by Christian Tzolov
Browse files

feat: add size field and builder pattern to Resource record (#331)



The size field helps hosts display file sizes and estimate context window usage.

- Add size parameter to Resource record for tracking raw content size in bytes
- Implement Builder pattern for Resource construction with validation
- Add deprecated constructor for backwards compatibility
- Add tests for builder pattern and field validation

Resolves #330

Signed-off-by: default avatarChristian Tzolov <christian.tzolov@broadcom.com>
parent 0fe76ba9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment