-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: Add Agentic MCP support with a new chat/completion endpoint #6381
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
Merged
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
✅ Deploy Preview for localai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
37bdc72
to
629e7c8
Compare
bb5e579
to
103e20d
Compare
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
103e20d
to
d409273
Compare
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1af64b3
to
ea3c71b
Compare
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
ea3c71b
to
179967b
Compare
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
d30dd56
to
7fb610d
Compare
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
7fb610d
to
48e8f63
Compare
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2dd434a
to
7159331
Compare
|
||
for _, server := range stdio.Servers { | ||
log.Debug().Msgf("[MCP stdio server] Configuration : %+v", server) | ||
command := exec.Command(server.Command, server.Args...) |
Check failure
Code scanning / gosec
Subprocess launched with variable Error
Subprocess launched with a potential tainted input or cmd arguments
} | ||
|
||
func (t *MCPTool) Close() { | ||
t.session.Close() |
Check warning
Code scanning / gosec
Errors unhandled Warning
Errors unhandled
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
90b7c9b
to
51b393c
Compare
8d9a94c
to
8709b25
Compare
8709b25
to
c62e426
Compare
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
c62e426
to
bb30555
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
enhancement
New feature or request
kind/documentation
Improvements or additions to documentation
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.
Description
This PR fixes #6380
Notes for Reviewers
To test, add for instance in a model config the following section:
Afterwards, you should be able to call the mcp endpoint (
/mcp/v1/chat/completions
- which uses the agent to answer, accessing the tools made available from the MCP servers configured) with:Signed commits