Fixed deepcopy failure when passing llm_client
This commit is contained in:
parent
1d2f231146
commit
1c746925d2
1 changed files with 1 additions and 1 deletions
|
|
@ -325,7 +325,7 @@ class MarkItDown:
|
||||||
|
|
||||||
for ext in extensions + [None]: # Try last with no extension
|
for ext in extensions + [None]: # Try last with no extension
|
||||||
for converter in sorted_converters:
|
for converter in sorted_converters:
|
||||||
_kwargs = copy.deepcopy(kwargs)
|
_kwargs = {k:v for k,v in kwargs.items()}
|
||||||
|
|
||||||
# Overwrite file_extension appropriately
|
# Overwrite file_extension appropriately
|
||||||
if ext is None:
|
if ext is None:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue