[PR #213] [MERGED] fix: always send chat data when submit message #349

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

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/213
Author: @thucpn
Created: 8/7/2024
Status: Merged
Merged: 8/7/2024
Merged by: @marcusschiesser

Base: mainHead: fix/always-send-chat-data-when-submmit-message


📝 Commits (7)

  • 552f133 fix: always send chat data when submit message
  • ef75646 feat: add option to control fetch config api
  • 9431086 refactor: patch ragapp
  • 8f03f09 fix: lint
  • 3926faa fix: lint
  • 50abf6a refactor: move fetch config outside useClientConfig
  • 91f069e Create light-steaks-thank.md

📊 Changes

6 files changed (+63 additions, -64 deletions)

View changed files

.changeset/light-steaks-thank.md (+5 -0)
📝 templates/components/ui/html/chat/hooks/use-config.ts (+12 -27)
📝 templates/types/streaming/nextjs/app/components/chat-section.tsx (+4 -0)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-input.tsx (+12 -15)
📝 templates/types/streaming/nextjs/app/components/ui/chat/chat-messages.tsx (+17 -2)
📝 templates/types/streaming/nextjs/app/components/ui/chat/hooks/use-config.ts (+13 -20)

📄 Description

Summary by CodeRabbit

  • New Features

    • Enhanced chat functionality with state management for dynamic request data.
    • Introduced optional configuration fetching in the chat client settings.
  • Bug Fixes

    • Improved handling of backend origin retrieval and configuration data fetching.
  • Documentation

    • Updated component interfaces to reflect new props and state management practices.

🔄 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/213 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 8/7/2024 **Status:** ✅ Merged **Merged:** 8/7/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `fix/always-send-chat-data-when-submmit-message` --- ### 📝 Commits (7) - [`552f133`](https://github.com/run-llama/create-llama/commit/552f1333e198ee4bd4e4be6140edba8888a3f075) fix: always send chat data when submit message - [`ef75646`](https://github.com/run-llama/create-llama/commit/ef756467cdcbc9968f1cfc91b9bd27a36225f4dc) feat: add option to control fetch config api - [`9431086`](https://github.com/run-llama/create-llama/commit/9431086695150b3cd9f59d0997ebcd7ca786605a) refactor: patch ragapp - [`8f03f09`](https://github.com/run-llama/create-llama/commit/8f03f0948525e8d808a7e4d31f2dfe084f9db873) fix: lint - [`3926faa`](https://github.com/run-llama/create-llama/commit/3926faae162737b7a4c30e447df70d12092352db) fix: lint - [`50abf6a`](https://github.com/run-llama/create-llama/commit/50abf6a3566ba13ef832d1cf6ba361b2536b9853) refactor: move fetch config outside useClientConfig - [`91f069e`](https://github.com/run-llama/create-llama/commit/91f069e14d357e4bc3f39bafd51f865fa2a0964b) Create light-steaks-thank.md ### 📊 Changes **6 files changed** (+63 additions, -64 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/light-steaks-thank.md` (+5 -0) 📝 `templates/components/ui/html/chat/hooks/use-config.ts` (+12 -27) 📝 `templates/types/streaming/nextjs/app/components/chat-section.tsx` (+4 -0) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-input.tsx` (+12 -15) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/chat-messages.tsx` (+17 -2) 📝 `templates/types/streaming/nextjs/app/components/ui/chat/hooks/use-config.ts` (+13 -20) </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced chat functionality with state management for dynamic request data. - Introduced optional configuration fetching in the chat client settings. - **Bug Fixes** - Improved handling of backend origin retrieval and configuration data fetching. - **Documentation** - Updated component interfaces to reflect new props and state management practices. <!-- 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 19:17:20 -05:00
yindo closed this issue 2026-02-15 19:17:20 -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#349