Skip to content

feat(examples): migrate RAG chat to remote corpus with rate limiting#354

Merged
bensonwong merged 10 commits intomainfrom
feat/rag-example-remote-corpus-and-error-boundary
Mar 19, 2026
Merged

feat(examples): migrate RAG chat to remote corpus with rate limiting#354
bensonwong merged 10 commits intomainfrom
feat/rag-example-remote-corpus-and-error-boundary

Conversation

@bensonwong
Copy link
Collaborator

@bensonwong bensonwong commented Mar 19, 2026

Summary

  • Remote corpus: Replaces locally-bundled PDFs with four real documents fetched from deepcitation.com/demo on module load (YC SAFE, NVIDIA Form 144, Attention Is All You Need, Why LLMs Hallucinate). No corpus files to check in.
  • Attachment caching: Fetched PDFs are uploaded to DeepCitation once per cold start; attachment IDs can be pinned in env vars to skip re-uploading.
  • Rate limiting: In-process daily caps (global: 100 req/day, per-IP: 5 req/day) configurable via env vars; RATE_LIMIT_DISABLED=true turns them off. Returns 429 with user-friendly fork-to-remove message.
  • CitationDrawer: Chat messages now render citations with CitationDrawer in addition to inline CitationComponent.
  • Corpus route: /api/corpus/[filename] redirects to the source PDF URL (used by the download links in the sidebar).
  • Loading skeleton: Shimmer skeleton shown while the LLM answer streams in.
  • Error boundary on PopoverContent: Wraps PopoverContent in CitationErrorBoundary so hook lifecycle errors (e.g. ThemeProvider full-tree re-renders) are caught without permanently hiding the popover — key increments on open, not close, so a transient crash self-recovers on next open.
  • CitationErrorBoundary fix: Null fallback check changed from truthiness (if (fallback)) to !== undefined so an explicit fallback={null} correctly renders nothing instead of the default error indicator.
  • Docs: Removed internal monorepo path reference from README; updated example questions to match new corpus.

Test plan

  • cd examples/langchain-rag-chat && cp .env.example .env.local, fill in DEEPCITATION_API_KEY and OPENAI_API_KEY, run npm run dev
  • On cold start, server logs should show 4 PDF fetches + upload; IDs can be pasted into .env.local for subsequent runs
  • Ask one of the example questions — verify citation markers appear, popover opens, CitationDrawer opens
  • Send 6 questions from the same IP — 6th should return a 429 with the fork message
  • Set RATE_LIMIT_DISABLED=true and confirm the 6th request succeeds
  • Visit /api/corpus/yc-safe.pdf — should redirect to the source URL
  • Visit /api/corpus/nonexistent.pdf — should return 404 JSON

Benson and others added 7 commits March 19, 2026 12:03
…llback

- Wrap PopoverContent in CitationErrorBoundary so hook lifecycle errors
  thrown during ThemeProvider-triggered re-renders are caught locally
  rather than propagating to the host app.
- Reset boundary on each open cycle via key={String(isHovering)} so a
  transient crash never permanently hides the popover.
- Fix CitationErrorBoundary.render: change truthy fallback check to
  !== undefined so fallback={null} is honoured.
- Improve componentDidCatch logging (message + stack separately).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…and CitationDrawer

Corpus:
- Replace 3 fictional local PDFs with 4 real remote PDFs (YC SAFE,
  NVDA Form 144, Attention Is All You Need, Why LLMs Hallucinate)
- Fetch PDFs from deepcitation.com/demo on cold start; cache attachmentId
  in env vars (DEEPCITATION_ATTACHMENT_*) to skip re-upload
- Eager module-load warmup uploads all sources before first request

Rate limiting:
- Add src/lib/rateLimit.ts: 5 req/day per IP + 20 req/day global bucket
- Return 429 with Retry-After and X-RateLimit-Remaining headers
- Add /api/corpus/ route to serve corpus PDFs for download

UI:
- Replace summary-badges row with CitationDrawer + CitationDrawerTrigger
- Replace loading status-line with animated LoadingSkeleton component
- Replace static corpus list with download links (corpus-link + download icon)
- Update sample questions to match new corpus topics

Docs:
- Fix JTD footer hiding: target > p:last-child instead of a[href*=...];
  hiding the link alone left orphaned text

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Citation.tsx:
- Replace key={String(isHovering)} with an open-count ref that increments
  only on false→true transitions, preventing unnecessary PopoverContent
  unmount/remount on every popover close
- Fix indentation of PopoverContent JSX props (misaligned after boundary wrap)

page.tsx:
- Remove CORPUS_DOCS duplication; derive corpus list from CORPUS_SOURCES
  (single source of truth: corpus.ts)

rateLimit.ts:
- Make both daily caps configurable via env vars (RATE_LIMIT_MAX_PER_DAY,
  RATE_LIMIT_MAX_PER_IP_PER_DAY) with current values as defaults

.env.example / README:
- Document the two new rate limit env vars and the RATE_LIMIT_DISABLED flag
- Rewrite README to reflect remote corpus, cold-start warmup, attachment
  caching, rate limiting, and CitationDrawer UI

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
deepcitation-langchain-rag-chat Ready Ready Preview, Comment Mar 19, 2026 7:21am

@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

📚 Documentation Preview

The documentation has been built successfully.

To preview locally:

  1. Download the github-pages artifact from this workflow run
  2. Extract and serve with any static file server:
    cd artifact && python -m http.server 8000
  3. Open http://localhost:8000/deepcitation/

⚠️ Link Check Results

Click to expand link check report

Summary

Status Count
🔍 Total 770
✅ Successful 321
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 2
❓ Unknown 0
🚫 Errors 447
⛔ Unsupported 0

Errors per input

Errors in docs/_site/404.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference" (Attribute: Some("href")): Cannot convert path '/api-reference' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples" (Attribute: Some("href")): Cannot convert path '/code-examples' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components" (Attribute: Some("href")): Cannot convert path '/components' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started" (Attribute: Some("href")): Cannot convert path '/getting-started' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/api-reference.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/code-examples.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components/" (Attribute: Some("href")): Cannot convert path '/components/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types/" (Attribute: Some("href")): Cannot convert path '/types/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/components.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling/" (Attribute: Some("href")): Cannot convert path '/error-handling/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling/" (Attribute: Some("href")): Cannot convert path '/styling/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types/" (Attribute: Some("href")): Cannot convert path '/types/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/CONTRIBUTING.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/curl-guide.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/error-handling.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] file:///home/runner/work/deepcitation/deepcitation/docs/_site/api-reference.md | Cannot find file: File not found. Check if file exists and path is correct
  • [ERROR] file:///home/runner/work/deepcitation/deepcitation/docs/_site/getting-started.md | Cannot find file: File not found. Check if file exists and path is correct
  • [ERROR] file:///home/runner/work/deepcitation/deepcitation/docs/_site/styling.md | Cannot find file: File not found. Check if file exists and path is correct

Errors in docs/_site/frameworks/index.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/frameworks/langchain.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference" (Attribute: Some("href")): Cannot convert path '/api-reference' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses" (Attribute: Some("href")): Cannot convert path '/verification-statuses' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/frameworks/nextjs.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components" (Attribute: Some("href")): Cannot convert path '/components' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling" (Attribute: Some("href")): Cannot convert path '/styling' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/frameworks/vercel-ai-sdk.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components" (Attribute: Some("href")): Cannot convert path '/components' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling" (Attribute: Some("href")): Cannot convert path '/error-handling' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/getting-started.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference/" (Attribute: Some("href")): Cannot convert path '/api-reference/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples/" (Attribute: Some("href")): Cannot convert path '/code-examples/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components/" (Attribute: Some("href")): Cannot convert path '/components/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling/" (Attribute: Some("href")): Cannot convert path '/error-handling/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling/" (Attribute: Some("href")): Cannot convert path '/styling/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/index.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference" (Attribute: Some("href")): Cannot convert path '/api-reference' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples" (Attribute: Some("href")): Cannot convert path '/code-examples' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components" (Attribute: Some("href")): Cannot convert path '/components' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide" (Attribute: Some("href")): Cannot convert path '/curl-guide' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling" (Attribute: Some("href")): Cannot convert path '/error-handling' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks" (Attribute: Some("href")): Cannot convert path '/frameworks' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started" (Attribute: Some("href")): Cannot convert path '/getting-started' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started" (Attribute: Some("href")): Cannot convert path '/getting-started' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling" (Attribute: Some("href")): Cannot convert path '/styling' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types" (Attribute: Some("href")): Cannot convert path '/types' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses" (Attribute: Some("href")): Cannot convert path '/verification-statuses' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/styling.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components/" (Attribute: Some("href")): Cannot convert path '/components/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling/" (Attribute: Some("href")): Cannot convert path '/error-handling/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started/" (Attribute: Some("href")): Cannot convert path '/getting-started/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/types.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/verification-statuses.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Full Github Actions output


Workflow run: 23284206342

@claude
Copy link

claude bot commented Mar 19, 2026

PR Review – feat(examples): migrate RAG chat to remote corpus with rate limiting

Overall this is a clean, well-structured PR. The architecture decisions (eager warmup, promise-cached attachments, in-process rate limiter) are all well-suited to a demo context and the trade-offs are honestly documented. A few things worth addressing:


Bugs

1. Stale UI copy (page.tsx line ~356)
The heading reads "Ask about the three corpus documents" but the corpus now has four documents. Should be "four".

2. download attribute on cross-origin redirect (page.tsx line ~393)

<a className="corpus-link" href={`/api/corpus/${doc.filename}`} download>

The download attribute only triggers a download for same-origin URLs. Because /api/corpus/[filename] returns a 302 to deepcitation.com/demo/..., browsers will follow the redirect to a cross-origin URL and ignore the download hint — the PDF opens in-tab instead of downloading. Either remove the attribute (let the browser decide) or have the route proxy the bytes with Content-Disposition: attachment instead of redirecting.

3. Retry-After value is inaccurate (route.ts line ~151)

headers: { "Retry-After": "86400" }

The window resets at UTC midnight (todayKey() returns the ISO date), so a user hitting the limit at 23:58 UTC only needs to wait ~2 minutes, not 86400 seconds. Consider computing the actual seconds remaining until midnight:

const msUntilMidnight = new Date(new Date().toISOString().slice(0, 10) + "T00:00:00Z").getTime() + 86400000 - Date.now();
headers: { "Retry-After": String(Math.ceil(msUntilMidnight / 1000)) }

Security / Correctness

4. x-forwarded-for can be spoofed (route.ts line ~142)

const ip = request.headers.get("x-forwarded-for")?.split(",")[0]?.trim() ?? null;

When the app runs behind Vercel's edge network the leftmost x-forwarded-for value is client-controlled. An adversarial user can send x-forwarded-for: 1.2.3.4 to impersonate any IP and bypass the per-IP cap entirely. For a demo this is acceptable, but the README and code comment should note this explicitly so forks don't mistakenly treat it as a reliable security control. Vercel exposes a trusted x-real-ip header (or the request.ip field in newer Next.js edge middleware) that cannot be spoofed.

5. No fetch timeout in resolveAttachment (rag.ts line ~657)

const response = await fetch(source.url);

A network hang during module warmup will cause all four promises in preparedAttachmentCache to pend indefinitely, blocking every subsequent request that awaits them. Add an AbortSignal.timeout(30_000) or similar:

const response = await fetch(source.url, { signal: AbortSignal.timeout(30_000) });

Minor / Nits

6. CitationErrorBoundary fallback null fix is correct
The change from if (fallback)if (fallback !== undefined) is the right fix. fallback={null} is the correct way to suppress the default error indicator and was silently broken before.

7. Error boundary key-on-open pattern (Citation.tsx lines ~840–844)
Mutating a ref during render is valid in React (refs are not state), and the guard if (isHovering && !prevIsHoveringRef.current) makes this idempotent within a render cycle. The approach is sound, though a brief inline comment explaining why the key is only incremented on open (not on close) would help future maintainers — the JSDoc above already covers this but it's a few hundred lines away from the implementation.

8. endUserId is a static label, not a real user ID (rag.ts line ~618)

new DeepCitation({ apiKey: deepCitationApiKey, endUserId: "langchain-rag-chat" })

Fine for an example, but worth a comment clarifying this is an app-level label. Anyone forking this for a multi-user deployment should replace it with an actual per-user identifier.

9. RATE_LIMIT_DISABLED only accepts the exact string "true" (rateLimit.ts line ~806)
The README shows RATE_LIMIT_DISABLED=true which is correct, but "1", "yes", or "TRUE" are silently ignored. The docs and .env.example are clear, so this is fine — just confirm the behavior is intentional.


What's well done

  • Eager warmup at module load with per-source promise caching is the right pattern for avoiding cold-start latency on the first request.
  • The fallback chain (getAttachment → re-upload) when deepTextPromptPortion is missing is a good defensive touch.
  • CitationDrawer integration in ChatMessage is clean and the useMemo usage for drawerItems and citationGroups is appropriate.
  • The corpus route returning 404 JSON for unknown filenames rather than silently redirecting is correct.
  • Rate limit state documentation ("intentionally lenient for a demo") sets accurate expectations.

The stale copy (#1) and download attribute bug (#2) should be fixed before merge. Items #3#5 are worth addressing for correctness/security hardening.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

✅ Playwright Test Report

Status: Tests passed

📊 Download Report & Snapshots (see Artifacts section)

What's in the Visual Snapshots

The gallery includes visual snapshots for:

  • 🖥️ Desktop showcase (all variants × all states)
  • 📱 Mobile showcase (iPhone SE viewport)
  • 📟 Tablet showcase (iPad viewport)
  • 🔍 Popover states (verified, partial, not found)
  • 🔗 URL citation variants

Run ID: 23284206359

Benson and others added 3 commits March 19, 2026 13:58
- Fix stale heading: "three" → "four" corpus documents
- Remove `download` attr from cross-origin redirect links (browsers
  ignore it; the PDF opens in-tab which is the correct behaviour here)
- Compute accurate Retry-After from seconds until UTC midnight instead
  of always returning 86400
- Add comment that x-forwarded-for is client-controlled behind Vercel
  edge and should not be treated as a trusted security control
- Add AbortSignal.timeout(30_000) to corpus PDF fetch to prevent
  indefinite hang blocking all attachment warmup promises
- Add comment clarifying endUserId is a static app-level label
- Clarify RATE_LIMIT_DISABLED only accepts exact string "true"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rpus PDFs

The corpus links now redirect to remote URLs (cross-origin), where the
`download` attribute is silently ignored by browsers. Switch to an
external-link icon and open-in-tab behavior to match actual UX.
Also rename "Bundled corpus" section heading to "Corpus" now that PDFs
are fetched remotely.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace non-null assertions (!) with throw guards in test file
- Add biome-ignore for intentional ref read in useCallback dep list
- Narrow searchNarrative guard to avoid ! on VerificationLogTimeline prop
- Remove stale doc links (real-world-examples, proof-hosting pages)
- Update agent docs to remove Radix references (replaced by Popover.tsx)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bensonwong bensonwong merged commit b0971a2 into main Mar 19, 2026
13 checks passed
@bensonwong bensonwong deleted the feat/rag-example-remote-corpus-and-error-boundary branch March 19, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant