diff options
| author | Hermes Agent <agent@nousresearch.com> | 2026-06-26 19:00:22 +0800 |
|---|---|---|
| committer | ntzyz <i@ntzyz.io> | 2026-06-26 19:00:22 +0800 |
| commit | de71e451c5f1283d642070ac5028fdbae842b988 (patch) | |
| tree | 8c1038ed1d4eb35b564a551d7f1a939523bb69d6 /__init__.py | |
feat: MiMo web search plugin for Hermes Agent
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
Diffstat (limited to '__init__.py')
| -rw-r--r-- | __init__.py | 14 |
1 files changed, 14 insertions, 0 deletions
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()) |
