-
Notifications
You must be signed in to change notification settings - Fork 49
[Fix #836] Implement beforeAgentInvocation and afterAgentInvocation f… #994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[Fix #836] Implement beforeAgentInvocation and afterAgentInvocation f… #994
Conversation
…rAgentInvocation for LC4J Signed-off-by: Dmitrii Tikhomirov <[email protected]>
ricardozanini
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @treblereel but we also must adapt our implementation:
It should be part of this PR. Basically, the missing before|afterAgentInvocation methods in our LC4J impl.
| private final AtomicReference<Consumer<AgenticScope>> beforeAgentInvocation = | ||
| new AtomicReference<>(); | ||
| private final AtomicReference<Consumer<AgenticScope>> afterAgentInvocation = | ||
| new AtomicReference<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why atomic? Is there a concurrency for changing these builders somewhere?
this one is tough ... |
I know! That was the real reason why I opened the issue. 😬 |
Signed-off-by: Dmitrii Tikhomirov <[email protected]>
…or LC4J
#836 Implement beforeAgentInvocation and afterAgentInvocation for LC4J 1.6.0