[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
6facfda8ea
commit
d15eebadb2
1 changed files with 4 additions and 1 deletions
|
|
@ -114,7 +114,10 @@ def test_format_hits_produces_fenced_chunks():
|
|||
},
|
||||
]
|
||||
result = _format_hits_for_llm(hits)
|
||||
assert '<chunk id="1" source="alpha.pdf" page="3" chunk_index="12" tokens="42">' in result
|
||||
assert (
|
||||
'<chunk id="1" source="alpha.pdf" page="3" chunk_index="12" tokens="42">'
|
||||
in result
|
||||
)
|
||||
assert 'chunk_index="12"' in result
|
||||
assert 'tokens="42"' in result
|
||||
assert "first body\n</chunk>" in result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue