[PR #393] [MERGED] Update DocumentInfo to work with relative URLs #473

Closed
opened 2026-02-15 20:14:57 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/393
Author: @leehuwuj
Created: 10/24/2024
Status: Merged
Merged: 10/25/2024
Merged by: @marcusschiesser

Base: mainHead: feat/support-relative-document-url


📝 Commits (1)

📊 Changes

2 files changed (+8 additions, -1 deletions)

View changed files

.changeset/smooth-wolves-admire.md (+5 -0)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-message/markdown.tsx (+3 -1)

📄 Description

Summary by CodeRabbit

  • New Features

    • Enhanced DocumentInfo component to support relative URLs, improving flexibility in document handling.
    • Updated Markdown component to better manage document URLs and citations, ensuring robust behavior even when backend configurations are unavailable.
  • Bug Fixes

    • Improved handling of undefined citations to prevent rendering issues.
  • Performance Improvements

    • Retained memoization for the ReactMarkdown component to optimize performance.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/create-llama/pull/393 **Author:** [@leehuwuj](https://github.com/leehuwuj) **Created:** 10/24/2024 **Status:** ✅ Merged **Merged:** 10/25/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `feat/support-relative-document-url` --- ### 📝 Commits (1) - [`1e4aca7`](https://github.com/run-llama/create-llama/commit/1e4aca7f490a1603f39834f6d3ea18967c584f04) relative url ### 📊 Changes **2 files changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/smooth-wolves-admire.md` (+5 -0) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-message/markdown.tsx` (+3 -1) </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced `DocumentInfo` component to support relative URLs, improving flexibility in document handling. - Updated `Markdown` component to better manage document URLs and citations, ensuring robust behavior even when backend configurations are unavailable. - **Bug Fixes** - Improved handling of undefined citations to prevent rendering issues. - **Performance Improvements** - Retained memoization for the `ReactMarkdown` component to optimize performance. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:14:57 -05:00
yindo closed this issue 2026-02-15 20:14:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#473