mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-22 03:45:20 -04:00
[PR #101] [MERGED] feat: render annotation inline #121
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/chat-ui/pull/101
Author: @thucpn
Created: 5/29/2025
Status: ✅ Merged
Merged: 6/3/2025
Merged by: @thucpn
Base:
main← Head:tp/annotation-custom-render📝 Commits (10+)
64f7642feat: render annotation inline8b34147clean upa3b545ademo inlineb9b598dupdate comment62f8a68wait longer for annotaton218d4ebadd docf4dedf2refactor: add annotationsRenderercb42cb6fix: format8c060faMerge branch 'main' into tp/annotation-custom-render4408630change contract📊 Changes
25 files changed (+896 additions, -219 deletions)
View changed files
➕
.changeset/grumpy-geckos-drive.md(+5 -0)📝
apps/web/app/demo/canvas/page.tsx(+28 -26)📝
docs/chat-ui/artifacts.mdx(+5 -3)📝
docs/chat-ui/core-components.mdx(+0 -2)📝
examples/fastapi/frontend/app/page.tsx(+0 -1)➕
examples/nextjs/app/api/chat/advanced/route.ts(+234 -0)📝
examples/nextjs/app/api/chat/route.ts(+21 -20)📝
examples/nextjs/app/page.tsx(+15 -5)📝
examples/nextjs/components/custom-weather.tsx(+17 -19)➕
examples/nextjs/components/custom-wiki.tsx(+62 -0)📝
packages/chat-ui/package.json(+3 -1)📝
packages/chat-ui/src/chat/annotations/annotations.ts(+16 -25)➖
packages/chat-ui/src/chat/annotations/data.ts(+0 -9)📝
packages/chat-ui/src/chat/annotations/index.ts(+2 -1)➕
packages/chat-ui/src/chat/annotations/inline.ts(+84 -0)➕
packages/chat-ui/src/chat/annotations/types.ts(+26 -0)➕
packages/chat-ui/src/chat/annotations/vercel.ts(+11 -0)📝
packages/chat-ui/src/chat/canvas/artifacts.ts(+5 -3)📝
packages/chat-ui/src/chat/canvas/context.tsx(+3 -9)📝
packages/chat-ui/src/chat/canvas/index.tsx(+2 -0)...and 5 more files
📄 Description
How stream look likes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.