[GH-ISSUE #5517] Invalid docs links in FileSystemSkillPanel (agents settings) #5138

Closed
opened 2026-06-05 14:52:15 -04:00 by yindo · 0 comments
Owner

Originally created by @angelplusultra on GitHub (Apr 24, 2026).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5517

Originally assigned to: @angelplusultra on GitHub.

Where

frontend/src/pages/Admin/Agents/FileSystemSkillPanel/index.jsx

  • Line 191 (the "Learn more" link under the description)
  • Line 278 (the <Trans> link inside WarningBanner)

What's wrong

Both use:

<Link to="/docs/guides/agent-skills/filesystem-agent" target="_blank" />

This is broken in two ways:

  1. Wrong URL shape. It's a relative SPA path via react-router's <Link>, so clicking it tries to navigate inside the app to /docs/guides/agent-skills/filesystem-agent — a route that doesn't exist. Every other docs link in the codebase points at the external site, e.g. https://docs.anythingllm.com/agent/custom/developer-guide, https://docs.anythingllm.com/mcp-compatibility/overview, https://docs.anythingllm.com/agent-flows/overview, etc.
  2. Route doesn't exist on the docs site either. docs.anythingllm.com doesn't have a /docs/guides/agent-skills/filesystem-agent page, so even rewriting to an absolute URL would 404 until the correct docs path is confirmed (or the docs page is created).

Additionally, external docs links in the rest of the app use <a href="https://...">, not <Link to=...> — the router <Link> is not appropriate for an off-app URL.

Expected

  • Replace both occurrences with an <a href="https://docs.anythingllm.com/..."> pointing at the actual filesystem-agent docs page (path to be confirmed by whoever authored the filesystem skill).
  • If no docs page exists yet, either create it or remove the link until one does.

Repro

  1. Open Admin → Agent Skills → enable/open the Filesystem skill panel.
  2. Click "Learn more →" or the link inside the orange warning banner.
  3. Observe the app navigates internally to a non-existent /docs/... route instead of opening the docs site.
Originally created by @angelplusultra on GitHub (Apr 24, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5517 Originally assigned to: @angelplusultra on GitHub. ### Where `frontend/src/pages/Admin/Agents/FileSystemSkillPanel/index.jsx` - Line 191 (the "Learn more" link under the description) - Line 278 (the `<Trans>` link inside `WarningBanner`) ### What's wrong Both use: ```jsx <Link to="/docs/guides/agent-skills/filesystem-agent" target="_blank" /> ``` This is broken in two ways: 1. **Wrong URL shape.** It's a relative SPA path via react-router's `<Link>`, so clicking it tries to navigate inside the app to `/docs/guides/agent-skills/filesystem-agent` — a route that doesn't exist. Every other docs link in the codebase points at the external site, e.g. `https://docs.anythingllm.com/agent/custom/developer-guide`, `https://docs.anythingllm.com/mcp-compatibility/overview`, `https://docs.anythingllm.com/agent-flows/overview`, etc. 2. **Route doesn't exist on the docs site either.** `docs.anythingllm.com` doesn't have a `/docs/guides/agent-skills/filesystem-agent` page, so even rewriting to an absolute URL would 404 until the correct docs path is confirmed (or the docs page is created). Additionally, external docs links in the rest of the app use `<a href="https://...">`, not `<Link to=...>` — the router `<Link>` is not appropriate for an off-app URL. ### Expected - Replace both occurrences with an `<a href="https://docs.anythingllm.com/...">` pointing at the actual filesystem-agent docs page (path to be confirmed by whoever authored the filesystem skill). - If no docs page exists yet, either create it or remove the link until one does. ### Repro 1. Open Admin → Agent Skills → enable/open the Filesystem skill panel. 2. Click "Learn more →" or the link inside the orange warning banner. 3. Observe the app navigates internally to a non-existent `/docs/...` route instead of opening the docs site.
yindo closed this issue 2026-06-05 14:52:15 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5138