Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
Enhancement
Description
Add invoke source tracking to function execution hooks
Introduce InvokeSource enum with Manual, LLM, and Routing values
Update function execution methods to accept source parameter
Modify realtime hub to filter notifications based on source
Changes diagram
Changes walkthrough 📝
15 files
Add invoke source parameter to function hooks
Update interface with invoke source parameter
Create InvokeSource enum with constants
Add invoke source to routing methods
Filter notifications based on invoke source
Pass LLM source to function invocation
Update hook to accept invoke source
Pass LLM and routing sources appropriately
Implement invoke source in agent invocation
Pass invoke source to function hooks
Use routing source for direct instructions
Use LLM source for function execution
Update hook to accept invoke source
Add invoke source parameter to hooks
Update hook signature with invoke source
2 files
Add global using for InvokeSource enum
Add global using for routing enums
1 files
Remove unused InvokeSource import