Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions dist/components/Bot.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,22 @@ export type AgentFlowExecutedData = {
previousNodeIds: string[];
status?: ExecutionState;
};
export type MessageResponseVersion = {
message?: string;
messageId?: string;
id?: string;
sourceDocuments?: any;
fileAnnotations?: any;
agentReasoning?: IAgentReasoning[];
agentFlowExecutedData?: any;
usedTools?: any[];
action?: IAction | null;
artifacts?: Partial<FileUpload>[];
thinking?: string;
thinkingDuration?: number;
rating?: FeedbackRatingType;
dateTime?: string;
};
export type MessageType = {
messageId?: string;
message: string;
Expand All @@ -80,6 +96,9 @@ export type MessageType = {
thinking?: string;
thinkingDuration?: number;
isThinking?: boolean;
isError?: boolean;
responseVersions?: MessageResponseVersion[];
responseVersionIndex?: number;
};
type observerConfigType = (accessor: string | boolean | object | MessageType[]) => void;
export type observersConfigType = Record<'observeUserInput' | 'observeLoading' | 'observeMessages', observerConfigType>;
Expand Down
2 changes: 1 addition & 1 deletion dist/components/Bot.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions dist/components/bubbles/BotBubble.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { FeedbackRatingType } from '@/queries/sendMessageQuery';
import { IAction, MessageType } from '../Bot';
import { DateTimeToggleTheme } from '@/features/bubble/types';
type Props = {
Expand All @@ -22,6 +23,8 @@ type Props = {
handleActionClick: (elem: any, action: IAction | undefined | null) => void;
handleSourceDocumentsClick: (src: any) => void;
onRegenerateResponse?: () => void;
showRegenerateResponseButton?: boolean;
onRatingUpdate?: (messageId: string, rating: FeedbackRatingType) => void;
isTTSEnabled?: boolean;
isTTSLoading?: Record<string, boolean>;
isTTSPlaying?: Record<string, boolean>;
Expand Down
2 changes: 1 addition & 1 deletion dist/components/bubbles/BotBubble.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/web.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web.umd.js

Large diffs are not rendered by default.

Loading