Skip to content

Commit 9f9fa02

Browse files
Update python/semantic_kernel/functions/kernel_arguments.py
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 574ab8e commit 9f9fa02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/semantic_kernel/functions/kernel_arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __ror__(self, value: dict) -> "KernelArguments":
9292
# Merge execution settings - only copy when needed
9393
new_execution_settings = {}
9494
if isinstance(value, KernelArguments) and value.execution_settings:
95-
new_execution_settings = value.execution_settings # Reuse reference if immutable
95+
new_execution_settings = value.execution_settings.copy()
9696
if self.execution_settings:
9797
# Only copy when we need to merge (mutation)
9898
new_execution_settings = {**new_execution_settings, **self.execution_settings}

0 commit comments

Comments
 (0)