chore: drop LocalOperator actions, we will use MCP for this#407
Merged
Conversation
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the built-in LocalOperator-backed actions (Browser Agent Runner and Deep Research Runner) from the core services/actions wiring, aligning with the intent to rely on MCPs instead.
Changes:
- Deleted the LocalOperator action implementations for browser agent and deep research runners.
- Removed the corresponding action registrations/config metadata from
services/actions.go. - Removed
LOCALOPERATOR_BASE_URLwiring frommain.go.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| services/actions/deepresearchrunner.go | Deletes the Deep Research Runner action implementation. |
| services/actions/browseragentrunner.go | Deletes the Browser Agent Runner action implementation (and its metadata constant). |
| services/actions.go | Removes action constants/registration/config for the deleted actions. |
| main.go | Removes LocalOperator base URL env var usage and action config wiring. |
Comments suppressed due to low confidence (1)
services/actions.go:33
- Removing the BrowserAgentRunner action also removed the
actions.MetadataBrowserAgentHistoryconstant (it was defined in the deleted runner file), but it is still referenced byservices/connectors/slack.goandservices/connectors/telegram.go. This will break compilation. Either keep that metadata key defined in theservices/actionspackage (e.g., move it to a separatemetadata.go) or update the connectors to stop referencing it / use the new MCP metadata key and type.
const (
// Actions
ActionSearch = "search"
ActionCustom = "custom"
ActionGithubIssueLabeler = "github-issue-labeler"
ActionGithubIssueOpener = "github-issue-opener"
ActionGithubIssueEditor = "github-issue-editor"
ActionGithubIssueCloser = "github-issue-closer"
ActionGithubIssueSearcher = "github-issue-searcher"
ActionGithubRepositoryGet = "github-repository-get-content"
ActionGithubRepositoryCreateOrUpdate = "github-repository-create-or-update-content"
ActionGithubIssueReader = "github-issue-reader"
ActionGithubIssueCommenter = "github-issue-commenter"
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
There is no advantage in having actions to the core for LocalOperator, we will use MCPs for this.