Fixed deepcopy failure when passing llm_client (#1089)
Co-authored-by: afourney <adamfo@microsoft.com>
This commit is contained in:
parent
80baa5db18
commit
36c4bc9ec3
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ class MarkItDown:
|
|||
cur_pos == file_stream.tell()
|
||||
), f"File stream position should NOT change between guess iterations"
|
||||
|
||||
_kwargs = copy.deepcopy(kwargs)
|
||||
_kwargs = {k:v for k,v in kwargs.items()}
|
||||
|
||||
# Copy any additional global options
|
||||
if "llm_client" not in _kwargs and self._llm_client is not None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue