Support AI tool instances in post-session processing - #115
Merged
Conversation
Adds AIProfilePostSessionSettings.ToolInstanceNames and forwards it to the tool registry alongside ToolNames, so parameterized AI tool instances can be invoked during post-session analysis. Configuring only tool instances is now enough to enable the tool-driven post-session path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Expose the new AIProfilePostSessionSettings.ToolInstanceNames setting in the MVC and Blazor sample hosts so post-session processing can be configured to call parameterized AI tool instances from the UI. - Add PostSessionToolInstanceNames to both AIProfileViewModel classes and round-trip it through AIProfilePostSessionSettings. - Render a Post-session Tool Instances picker inside the post-session section of the AI profile create and edit screens in both hosts. - Validate the selected names against the tool instance catalog on save in the Blazor host, matching the existing capability-level behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Tool instances now sit next to AI tools on the Capabilities tab of each post-session task instead of on a separate profile-level block above the tasks. - Add PostSessionTask.ToolInstanceNames so instances can be scoped to a task. - Merge profile-level and task-level names in PostSessionProcessingService by collapsing CollectToolNames and CollectNames into one shared collector. - Add SelectedToolInstanceNames to PostSessionTaskItem in both sample hosts and round-trip it through the post-session settings. - Render the picker inside the per-task Capabilities tab in the Blazor and MVC create and edit screens, including the client-side task templates. - Cover task-level instance names with a unit test. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds AIProfilePostSessionSettings.ToolInstanceNames and forwards it to the tool registry alongside ToolNames, so parameterized AI tool instances can be invoked during post-session analysis. Configuring only tool instances is now enough to enable the tool-driven post-session path.