From de71e451c5f1283d642070ac5028fdbae842b988 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Fri, 26 Jun 2026 19:00:22 +0800 Subject: feat: MiMo web search plugin for Hermes Agent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Xiaomi MiMo ่”็ฝ‘ๆœ็ดข (server-side web search) provider plugin. - WebSearchProvider subclass calling MiMo Chat Completions API with tools=[{type: web_search, force_search: true}] - Parses url_citation annotations into Hermes standard format - Supports XIAOMI_BASE_URL for Token Plan endpoints - Standalone test_search.py CLI script (no Hermes dependency) - Configurable model, max_keyword, timeout via config.yaml --- __init__.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 __init__.py (limited to '__init__.py') diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..c1cd62d --- /dev/null +++ b/__init__.py @@ -0,0 +1,14 @@ +"""Xiaomi MiMo web search plugin. + +Mirrors the ``plugins/web/brave_free/`` layout: ``provider.py`` holds the +provider class, ``__init__.py::register(ctx)`` registers an instance. +""" + +from __future__ import annotations + +from plugins.web.mimo.provider import MiMoWebSearchProvider + + +def register(ctx) -> None: + """Register the MiMo Web Search provider with the plugin context.""" + ctx.register_web_search_provider(MiMoWebSearchProvider()) -- cgit v1.3.1