mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
* 💄 style: remove platform-specific Spotlight reference from searchLocalFiles Replace "using Spotlight (macOS) or native search" with "using native search" since the actual search implementation is platform-dependent and the LLM doesn't need to know the specific backend. Fixes LOBE-5778 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * ⚡️ perf: remove duplicate API descriptions from tool system prompt API identifiers and descriptions are already in the tools schema passed via the API tools parameter. Repeating them in the system prompt wastes tokens. Now only tools with systemRole (usage instructions) are injected. Also rename XML tags: plugins→tools, collection→tool, collection.instructions→tool.instructions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * 💄 style: inject tool description when no systemRole instead of skipping Tools without systemRole now show their description as <tool> children. Tools with systemRole use <tool.instructions> wrapper as before. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * 💄 style: always emit <tool> tag, fallback to "no description" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * update tools * fix --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>