Skip to content

Commit d2de764

Browse files
fix(python_code_splitter): release notes creation
1 parent 60c1e87 commit d2de764

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
fixes:
3+
- |
4+
Fixed ``PythonCodeSplitter`` secondary-split pieces losing all identifying
5+
context after the first piece when a function, method, or class body is
6+
oversized and falls back to line-based splitting. Every piece after the
7+
first is now prefixed with the unit's qualified name (e.g. ``# ClassName.method_name``)
8+
so that retrieval can still associate the chunk with its source function.

0 commit comments

Comments
 (0)