Skip to content

Comments

fix: preserve append_to_last_tool_result when merging inject_context …#17

Open
ramparte wants to merge 1 commit intomicrosoft:mainfrom
ramparte:fix/preserve-append-to-last-tool-result-in-merge
Open

fix: preserve append_to_last_tool_result when merging inject_context …#17
ramparte wants to merge 1 commit intomicrosoft:mainfrom
ramparte:fix/preserve-append-to-last-tool-result-in-merge

Conversation

@ramparte
Copy link
Contributor

…HookResults

_merge_inject_context_results now checks whether ANY result requested append_to_last_tool_result and forwards the flag to the merged HookResult. Previously the field was dropped (defaulting to False), which caused the orchestrator to skip the tool-result merge path and create consecutive same-role messages instead of merging them.

🤖 Generated with Amplifier

…HookResults

_merge_inject_context_results now checks whether ANY result requested
append_to_last_tool_result and forwards the flag to the merged
HookResult.  Previously the field was dropped (defaulting to False),
which caused the orchestrator to skip the tool-result merge path and
create consecutive same-role messages instead of merging them.

🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant