Commit Graph

12 Commits

Author SHA1 Message Date
Yeuoly a84437b245 refactor: refactor FileChunk to use Pydantic validators and extract blob processing logic
- Refactor FileChunk class to use Pydantic field and model validators
- Add proper validation for total_length with size constraints
- Implement __iadd__ operator for cleaner chunk appending
- Extract blob chunk processing logic into a dedicated _process_blob_chunks method
- Add comprehensive docstrings for better code documentation
- Add unit tests for FileChunk class

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 22:18:11 +08:00
Bowen Liang 2e87e85474 update 2025-08-10 21:23:08 +08:00
Bowen Liang 23ee92e52e update 2025-08-10 14:10:50 +08:00
Bowen Liang 3449065585 style 2025-08-10 14:10:30 +08:00
Bowen Liang 84eec68421 reuse variables 2025-08-10 14:10:17 +08:00
Bowen Liang 1856a743fc style 2025-08-10 14:07:39 +08:00
Bowen Liang 76883751eb update 2025-08-10 14:07:19 +08:00
Bowen Liang d90e30d4b6 update 2025-08-10 14:05:52 +08:00
Bowen Liang 7f2e18be0c move file chunk size check ahead 2025-08-10 14:02:00 +08:00
Bowen Liang e115340e83 make tool file size configurable 2025-08-10 14:00:58 +08:00
Maries a4ef900916
Support OAuth Integration for Plugin Tools (#22550)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2025-07-17 17:18:44 +08:00
Yeuoly abafa68647
refactor: rename plugin manager to plugin client and rename path from manager to impl (#18876) 2025-04-27 14:22:25 +08:00