dify/api/core/plugin
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
..
backwards_invocation orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
endpoint fix: handle EndpointSetupFailedError in BasePluginClient (#19613) 2025-05-15 13:59:43 +08:00
entities feat: oauth refresh token (#22744) 2025-07-23 13:12:39 +08:00
impl refactor: refactor FileChunk to use Pydantic validators and extract blob processing logic 2025-08-12 22:18:11 +08:00
utils Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00