mirror of
https://github.com/langgenius/dify.git
synced 2026-03-13 21:22:28 +08:00
- 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> |
||
|---|---|---|
| .. | ||
| agent/output_parser | ||
| app | ||
| file | ||
| helper | ||
| mcp/client | ||
| model_runtime | ||
| ops | ||
| plugin | ||
| prompt | ||
| rag | ||
| repositories | ||
| tools | ||
| variables | ||
| workflow | ||
| __init__.py | ||
| test_file.py | ||
| test_model_manager.py | ||
| test_provider_manager.py | ||