Commit abfcd13
committed
Tighten Langfuse truncation-marker assertion
Address review feedback on PR #186: the input_is_raw_string_with_marker
check matched a bare "[truncated" substring, which could false-positive
on arbitrary content. Tighten it to a regex matching the full marker
shape, matching the observer's _TRUNCATION_MARKER_TEMPLATE and consistent
with the OTel marker_pattern approach.1 parent 22c6596 commit abfcd13
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3862 | 3862 | | |
3863 | 3863 | | |
3864 | 3864 | | |
3865 | | - | |
3866 | | - | |
| 3865 | + | |
| 3866 | + | |
3867 | 3867 | | |
3868 | 3868 | | |
3869 | 3869 | | |
| |||
0 commit comments