Skip to content

chore: bump chat-ui to support code editor & document editor #594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2025

Conversation

thucpn
Copy link
Collaborator

@thucpn thucpn commented May 6, 2025

Summary by CodeRabbit

  • Chores
    • Updated the chat interface dependency to a newer version that supports both code and document editors. No user-facing changes in functionality.

@thucpn thucpn requested review from marcusschiesser and leehuwuj May 6, 2025 08:24
Copy link

changeset-bot bot commented May 6, 2025

🦋 Changeset detected

Latest commit: 2a1e7d3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@llamaindex/server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

coderabbitai bot commented May 6, 2025

Walkthrough

This update documents and implements a patch-level dependency bump for the @llamaindex/chat-ui package within the server package. No source code or logic is modified; only the dependency version is updated to support new editor features, as recorded in a changeset file.

Changes

File(s) Change Summary
.changeset/smooth-donuts-rhyme.md Added a changeset file documenting a patch update for the server package due to a dependency bump.
packages/server/package.json Updated @llamaindex/chat-ui dependency from version 0.4.1 to 0.4.3.

Possibly related PRs

  • feat: use latest chat UI #418: Updates to use the latest chat UI components and APIs, enabled by the dependency version upgrade in this PR.
  • bump: chat-ui #454: Bumps the @llamaindex/chat-ui dependency version, similar to the change in this PR.

Suggested reviewers

  • marcusschiesser
  • leehuwuj

Poem

A patch hops in, so light and neat,
Just a version bump—no code to tweak!
Editors now, both doc and code,
Await in the UI’s shiny new mode.
The rabbit cheers, dependencies aligned—
Onward to features, perfectly timed! 🐇✨


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1357c42 and 2a1e7d3.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • .changeset/smooth-donuts-rhyme.md (1 hunks)
  • packages/server/package.json (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (25)
  • GitHub Check: typescript (22, 3.11, ubuntu-22.04, nextjs, --llamacloud)
  • GitHub Check: typescript (22, 3.11, ubuntu-22.04, nextjs, --example-file)
  • GitHub Check: typescript (22, 3.11, ubuntu-22.04, nextjs, --no-files)
  • GitHub Check: typescript (22, 3.11, windows-latest, nextjs, --llamacloud)
  • GitHub Check: typescript (22, 3.11, windows-latest, nextjs, --example-file)
  • GitHub Check: typescript (22, 3.11, windows-latest, nextjs, --no-files)
  • GitHub Check: typescript (22, 3.11, macos-latest, nextjs, --llamacloud)
  • GitHub Check: typescript (22, 3.11, macos-latest, nextjs, --example-file)
  • GitHub Check: typescript (22, 3.11, macos-latest, nextjs, --no-files)
  • GitHub Check: python (20, 3.11, ubuntu-22.04, fastapi, --llamacloud)
  • GitHub Check: typescript (20, 3.11, ubuntu-22.04, nextjs, --llamacloud)
  • GitHub Check: python (20, 3.11, ubuntu-22.04, fastapi, --example-file)
  • GitHub Check: typescript (20, 3.11, ubuntu-22.04, nextjs, --example-file)
  • GitHub Check: python (20, 3.11, ubuntu-22.04, fastapi, --no-files)
  • GitHub Check: typescript (20, 3.11, ubuntu-22.04, nextjs, --no-files)
  • GitHub Check: python (20, 3.11, windows-latest, fastapi, --llamacloud)
  • GitHub Check: typescript (20, 3.11, windows-latest, nextjs, --llamacloud)
  • GitHub Check: python (20, 3.11, windows-latest, fastapi, --example-file)
  • GitHub Check: typescript (20, 3.11, windows-latest, nextjs, --example-file)
  • GitHub Check: python (20, 3.11, windows-latest, fastapi, --no-files)
  • GitHub Check: typescript (20, 3.11, windows-latest, nextjs, --no-files)
  • GitHub Check: typescript (20, 3.11, macos-latest, nextjs, --llamacloud)
  • GitHub Check: typescript (20, 3.11, macos-latest, nextjs, --example-file)
  • GitHub Check: python (20, 3.11, macos-latest, fastapi, --example-file)
  • GitHub Check: typescript (20, 3.11, macos-latest, nextjs, --no-files)
🔇 Additional comments (2)
packages/server/package.json (1)

59-59:

✅ Verification successful

Approve dependency bump
The version of @llamaindex/chat-ui has been correctly updated from 0.4.1 to 0.4.3 to surface the new code- and document-editor features.

Please verify that version 0.4.3 is published on npm and that your lockfile (e.g., pnpm-lock.yaml) has been updated accordingly:


🏁 Script executed:

curl -s https://registry.npmjs.org/@llamaindex/chat-ui | jq '.versions | has("0.4.3")'

Length of output: 93



🏁 Script executed:

#!/bin/bash

echo "Checking pnpm-lock.yaml for @llamaindex/[email protected]..."
if grep -R "@llamaindex/[email protected]" -n pnpm-lock.yaml; then
  echo "✅ Found in pnpm-lock.yaml"
else
  echo "❌ Not found in pnpm-lock.yaml"
fi

echo "Checking package-lock.json for @llamaindex/chat-ui 0.4.3..."
if grep -R '"@llamaindex/chat-ui": "0.4.3"' -n package-lock.json; then
  echo "✅ Found in package-lock.json"
else
  echo "❌ Not found in package-lock.json"
fi

echo "Checking yarn.lock for [email protected]..."
if grep -R "[email protected]" -n yarn.lock; then
  echo "✅ Found in yarn.lock"
else
  echo "❌ Not found in yarn.lock"
fi

Length of output: 1207


Approve dependency bump
Version @llamaindex/[email protected] is published on npm and confirmed in pnpm-lock.yaml. No other lockfiles (package-lock.json or yarn.lock) exist in this repo.

.changeset/smooth-donuts-rhyme.md (1)

1-6: Approve changeset entry
The changeset front matter and description properly document a patch‐level bump of @llamaindex/server to include the bumped chat-ui dependency. The title is clear and concise.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@marcusschiesser marcusschiesser merged commit d9f9e3c into main May 6, 2025
30 of 33 checks passed
@marcusschiesser marcusschiesser deleted the tp/bump-chat-ui branch May 6, 2025 09:56
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.

2 participants