feat(webiste): utiliziation cases of LLM frameworks.#1797
Conversation
There was a problem hiding this comment.
Pull request overview
This PR reorganizes the website documentation for LLM framework integrations by moving full guides under /docs/utilization/* and turning the previous /docs/llm/* pages into client-side redirects, while also updating a few related doc links and adding a reusable redirect component.
Changes:
- Added new utilization guides for LangChain, MCP, and Vercel AI SDK under
/docs/utilization/. - Replaced the existing
/docs/llm/{langchain,mcp,vercel}pages with aClientRedirect-based redirect to the new locations. - Updated several documentation passages/links for consistency (e.g., HttpLlm integration links, Swagger link).
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 23 comments.
Show a summary per file
| File | Description |
|---|---|
| website/src/content/docs/utilization/vercel.mdx | New utilization guide page for Vercel AI SDK integration. |
| website/src/content/docs/utilization/mcp.mdx | New utilization guide page for MCP integration. |
| website/src/content/docs/utilization/langchain.mdx | New utilization guide page for LangChain integration. |
| website/src/content/docs/utilization/_meta.ts | Adds navigation entries for the new utilization pages. |
| website/src/content/docs/llm/vercel.mdx | Converts prior Vercel LLM doc page into a redirect to utilization. |
| website/src/content/docs/llm/mcp.mdx | Converts prior MCP LLM doc page into a redirect to utilization. |
| website/src/content/docs/llm/langchain.mdx | Converts prior LangChain LLM doc page into a redirect to utilization. |
| website/src/components/internal/ClientRedirect.tsx | Introduces reusable client-side redirect component. |
| website/src/content/docs/llm/http.mdx | Updates integration links to point at new utilization pages. |
| website/src/content/docs/llm/chat.mdx | Updates Swagger link to external nestia.io docs URL. |
| website/src/content/docs/validators/tags.mdx | Refines explanation text for why comment tags are supported. |
| website/src/content/docs/protobuf/message.mdx | Refines explanation text for why comment tags are supported. |
| website/src/content/docs/_meta.ts | Adds trailing newline (formatting consistency). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Refactors the website documentation to move LangChain, MCP, and Vercel AI SDK guides under /docs/utilization/, while keeping the previous /docs/llm/* routes working via client-side redirects.
Changes:
- Added new utilization-case docs pages for LangChain, MCP, and Vercel AI SDK.
- Replaced the old
/docs/llm/{langchain,mcp,vercel}pages with a reusableClientRedirectcomponent. - Updated a few internal links for consistency and adjusted minor formatting.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| website/src/components/internal/ClientRedirect.tsx | New client component used to redirect legacy docs routes to new utilization paths. |
| website/src/content/docs/llm/langchain.mdx | Replaced page body with a redirect to /docs/utilization/langchain. |
| website/src/content/docs/llm/mcp.mdx | Replaced page body with a redirect to /docs/utilization/mcp. |
| website/src/content/docs/llm/vercel.mdx | Replaced page body with a redirect to /docs/utilization/vercel. |
| website/src/content/docs/utilization/langchain.mdx | New LangChain utilization guide content. |
| website/src/content/docs/utilization/mcp.mdx | New MCP utilization guide content. |
| website/src/content/docs/utilization/vercel.mdx | New Vercel AI SDK utilization guide content. |
| website/src/content/docs/utilization/_meta.ts | Adds nav entries for the new utilization pages. |
| website/src/content/docs/llm/http.mdx | Updates links to point at new utilization pages. |
| website/src/content/docs/llm/chat.mdx | Updates Swagger doc link to an external URL. |
| website/src/content/docs/validators/tags.mdx | Revises wording in the “comment tags” warning callout. |
| website/src/content/docs/protobuf/message.mdx | Revises wording in the “comment tags” warning callout. |
| website/src/content/docs/_meta.ts | Adds trailing newline. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This pull request primarily refactors the LangChain and MCP guide documentation pages to redirect users to their new locations under the
/docs/utilization/path, replacing the previous content with client-side redirects. Additionally, it introduces a reusableClientRedirectReact component for handling these redirects and updates some internal documentation links for consistency.Documentation refactoring and redirects:
llm/langchain.mdxandllm/mcp.mdxwith a<ClientRedirect>component that redirects to/docs/utilization/langchainand/docs/utilization/mcp, respectively, simplifying navigation and centralizing documentation. [1] [2]ClientRedirectReact component incomponents/internal/ClientRedirect.tsxto handle client-side redirects and display a message to users.Internal link updates:
llm/chat.mdxto use an external URL for clarity and consistency.llm/http.mdxto reference the new/docs/utilization/paths for MCP and Vercel AI SDK.Minor formatting:
_meta.tsfor formatting consistency.