Skip to content

Commit c64d6ba

Browse files
committed
feat: add plain regenerate response action
1 parent 940ebb2 commit c64d6ba

File tree

5 files changed

+169095
-4
lines changed

5 files changed

+169095
-4
lines changed

dist/components/Bot.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/bubbles/BotBubble.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { FeedbackRatingType } from '@/queries/sendMessageQuery';
12
import { IAction, MessageType } from '../Bot';
23
import { DateTimeToggleTheme } from '@/features/bubble/types';
34
type Props = {
@@ -22,6 +23,8 @@ type Props = {
2223
handleActionClick: (elem: any, action: IAction | undefined | null) => void;
2324
handleSourceDocumentsClick: (src: any) => void;
2425
onRegenerateResponse?: () => void;
26+
showRegenerateResponseButton?: boolean;
27+
onRatingUpdate?: (messageId: string, rating: FeedbackRatingType) => void;
2528
isTTSEnabled?: boolean;
2629
isTTSLoading?: Record<string, boolean>;
2730
isTTSPlaying?: Record<string, boolean>;

dist/components/bubbles/BotBubble.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web.js

Lines changed: 84541 additions & 1 deletion
Large diffs are not rendered by default.

dist/web.umd.js

Lines changed: 84549 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)