forked from apache/hertzbeat
-
Notifications
You must be signed in to change notification settings - Fork 0
Add tools complete #12
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
Open
sarthakeash
wants to merge
123
commits into
master
Choose a base branch
from
add-tools-complete
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
- Make the mcp a bean and run as the process as original spring boot
Removed previous LLM service implementations and introduced a unified ChatClientProviderService to handle interactions with LLM providers. Implemented ConversationService enhancements with new capabilities like streaming responses, conversation history, and management. Updated configurations and dependencies to support these changes.
Removed unused imports, methods, and annotations to streamline the codebase and improve maintainability. Updated `pom.xml` to add necessary dependencies and repositories for AI functionality. Refactored controllers to include standard REST mappings for improved API structure.
- MCP server - working - Chat Client - working - Client able to access the tools - working - dependencies resolved
Removed `AgentApplication` configuration class, shifting `ToolCallbackProvider` setup to `McpServerServiceImpl`. Refactored `ChatClientProviderService` to unify chat handling logic and added support for streaming chat responses via `ChatController`. These changes improve modularity and simplify chat-related operations.
Removed unused MCP configuration classes and updated method and bean names to replace "monitorTools" with "hertzbeatTools" for better clarity and consistency. This improves code readability and aligns naming with project conventions.
Renamed and updated methods for better clarity and functionality, such as `listMonitors` replacing `getMonitors`. Introduced `PromptProvider` to standardize AI prompts for monitoring operations. Enhanced error handling and logging for the `MonitorServiceAdapterImpl` to improve debugging and reliability.
- fix errors from previous PRs
- List Monitors Tool: WORKING WITH MCP AND REAL DATA
Signed-off-by: Sarthak Arora <f20200060@pilani.bits-pilani.ac.in>
Signed-off-by: Sarthak Arora <f20200060@pilani.bits-pilani.ac.in>
…odal on click on the bottom right icon
Co-authored-by: Calvin <zhengqiwei@apache.org> Co-authored-by: tomsun28 <tomsun28@outlook.com> Co-authored-by: Sherlock Yin <sherlock.yin1994@gmail.com>
…rn.yml (apache#3703) Co-authored-by: tomsun28 <tomsun28@outlook.com>
…odal on click on the bottom right icon
…odal on click on the bottom right icon
Signed-off-by: Sarthak Arora <f20200060@pilani.bits-pilani.ac.in>
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.
What's changed?
Checklist
Add or update API