Skip to content

chore: drop LocalOperator actions, we will use MCP for this#407

Merged
mudler merged 1 commit intomainfrom
chore/drop-localoperator-actions
Feb 6, 2026
Merged

chore: drop LocalOperator actions, we will use MCP for this#407
mudler merged 1 commit intomainfrom
chore/drop-localoperator-actions

Conversation

@mudler
Copy link
Owner

@mudler mudler commented Feb 6, 2026

There is no advantage in having actions to the core for LocalOperator, we will use MCPs for this.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Copilot AI review requested due to automatic review settings February 6, 2026 20:51
@mudler mudler merged commit cea3b7b into main Feb 6, 2026
3 of 5 checks passed
@mudler mudler deleted the chore/drop-localoperator-actions branch February 6, 2026 20:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_URL wiring from main.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.MetadataBrowserAgentHistory constant (it was defined in the deleted runner file), but it is still referenced by services/connectors/slack.go and services/connectors/telegram.go. This will break compilation. Either keep that metadata key defined in the services/actions package (e.g., move it to a separate metadata.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant