Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
e5735d95
Unverified
Commit
e5735d95
authored
Jul 05, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Jul 05, 2025
Browse files
Update mineru/utils/llm_aided.py
Co-authored-by:
Copilot
<
175728472+Copilot@users.noreply.github.com
>
parent
0530f599
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mineru/utils/llm_aided.py
mineru/utils/llm_aided.py
+1
-1
No files found.
mineru/utils/llm_aided.py
View file @
e5735d95
...
...
@@ -89,7 +89,7 @@ Corrected title list:
)
content_pieces
=
[]
for
chunk
in
completion
:
if
chunk
.
choices
:
if
chunk
.
choices
and
chunk
.
choices
[
0
].
delta
.
content
is
not
None
:
content_pieces
.
append
(
chunk
.
choices
[
0
].
delta
.
content
)
content
=
""
.
join
(
content_pieces
).
strip
()
# logger.info(f"Title completion: {content}")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment