generated from JetBrains/intellij-platform-plugin-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(custom-agent): refactor and add support for custom agent respons…
…e actions #51 The commit refactors the `CustomAgentChatProcessor` and `ChatCodingPanel` classes to support custom agent response actions. It introduces a new `CustomAgentConfig` class to handle the configuration of custom agents and updates the `executeQuery` method in `CustomAgentHandler` to return a response based on the selected agent's response action. The `findIntention` method is replaced with `executeQuery` to better align with the new functionality. The `ChatCodingPanel` is updated to retrieve the selected custom agent using the new `getSelectedCustomAgent` method, which returns a `CustomAgentConfig` object.
- Loading branch information
Showing
3 changed files
with
41 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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