Skip to content

Optional gptel dependency for core introspection functions? #2

Description

@oatmealm

Thanks for this - works great! I was struggling to get Elisa to work on my system, but ragmacs works perfectly well. Would you say semantic search, like Elisa provides, adds value beyond your implementation when it comes to introspecting manuals?

I'm wrapping ragmacs core functions as MCP tools to use from external coding clients. Would it be possible to decouple the core functions from the gptel dependency? They clearly have value beyond gptel. The current implementation doesn't limit reusability per se, but does require loading gptel.

  (mcp-server-tools-register
   "emacs-manual-list"
   "Emacs Manual List"
   "List all available Emacs Info manuals"
   '((type . "object")
     (properties . ())
     (required . ()))
   (lambda (args)
     (condition-case err
         (ragmacs--gptel-manual-names)
       (error (format "Failed to retrieve manual list: %s" (error-message-string err))))))

etc...

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions