Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Conversation

@philipheimboeck
Copy link
Contributor

Adds an option to the Toolbox/ChainProcessor to keep tool messages by avoiding to clone the original messageBag

Fixes #321

@philipheimboeck philipheimboeck force-pushed the philip/feat-keep-tool-messages branch from bbd5a85 to 41a01a3 Compare May 23, 2025 10:05
Copy link
Member

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implementation looks good - only smaller things on docs & tests

@philipheimboeck philipheimboeck force-pushed the philip/feat-keep-tool-messages branch from 41a01a3 to f1060b7 Compare June 2, 2025 06:59
@philipheimboeck
Copy link
Contributor Author

I rebased the whole thing as meanwhile the namespaces changed and applied your suggestions.

Copy link
Member

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @philipheimboeck! Great first contribution!

@chr-hertel
Copy link
Member

I'll take care of the PHPUnit issue after merging, it's a PHPUnit bug.

@chr-hertel chr-hertel merged commit 0fe079c into php-llm:main Jun 6, 2025
0 of 21 checks passed
chr-hertel added a commit that referenced this pull request Jun 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tool Calling messages are lost in cloned MessageBag

2 participants