Repository navigation
docs: fix stale Algolia description and wrong tool-name reference - #44
Merged
Merged
Conversation
search_mapbox_docs_tool's README entry still said it used Algolia full-text search, left over from before that dependency was replaced with the self-contained llms.txt index (throttling under the hosted server's shared free-tier quota was the reason for the migration). Separately, get_document_tool's own description - the text shown to the LLM, not just docs - referenced a tool named get_latest_mapbox_docs_tool, which doesn't exist and was actively misdirecting tool-chaining behavior. Fixed to reference the real search_mapbox_docs_tool.
|
OX Security reviewed this pull request — nothing to fix.
Branch |
Spellcheck has been failing on main since PR #43 merged (client identification) - it uses server.server.oninitialized, which isn't a real word and was never added to the dictionary. Unrelated to this PR's changes but fixing here since it's currently the only thing blocking CI.
Valiunia
approved these changes
Sep 9, 2026
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.
Summary
Two stale references left over from the Algolia-to-
llms.txtsearch migration:search_mapbox_docs_tool's README entry still said "Searches Mapbox documentation using Algolia full-text search." That dependency was removed a while back (see the "Replace Algolia search with self-contained llms.txt search" CHANGELOG entry) — it now searches a self-hosted keyword index built fromllms.txtfiles, no Algolia involved.get_document_tool's owndescriptionfield — the text shown to the LLM, not just docs — referenced a tool namedget_latest_mapbox_docs_tool, which doesn't exist anywhere in the codebase. Fixed to reference the realsearch_mapbox_docs_tool, since the wrong name was actively misdirecting tool-chaining behavior.Test plan
npm run buildnpx vitest run— 85 tests passingnpx eslint --fix— clean🤖 Generated with Claude Code