Skip to content

Commit 80bcd8f

Browse files
committed
add thinking message
1 parent e84e04d commit 80bcd8f

14 files changed

Lines changed: 321 additions & 4 deletions

dist/components/Bot.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ export type MessageType = {
7777
id?: string;
7878
followUpPrompts?: string;
7979
dateTime?: string;
80+
thinking?: string;
81+
thinkingDuration?: number;
82+
isThinking?: boolean;
8083
};
8184
type observerConfigType = (accessor: string | boolean | object | MessageType[]) => void;
8285
export type observersConfigType = Record<'observeUserInput' | 'observeLoading' | 'observeMessages', observerConfigType>;

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.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.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
type Props = {
2+
thinking?: string;
3+
thinkingDuration?: number;
4+
isThinking?: boolean;
5+
backgroundColor?: string;
6+
textColor?: string;
7+
};
8+
export declare const ThinkingCard: (props: Props) => import("solid-js").JSX.Element;
9+
export {};
10+
//# sourceMappingURL=ThinkingBubble.d.ts.map

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

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { JSXElement } from 'solid-js';
2+
type IconProps = {
3+
size?: number;
4+
color?: string;
5+
};
6+
export declare const MaximizeIcon: (props: IconProps) => import("solid-js").JSX.Element;
7+
type AgentflowIconEntry = {
8+
name: string;
9+
icon: (props: IconProps) => JSXElement;
10+
color: string;
11+
};
12+
export declare const AGENTFLOW_ICONS: AgentflowIconEntry[];
13+
export declare function getAgentflowIcon(name: string): AgentflowIconEntry | null;
14+
export {};
15+
//# sourceMappingURL=AgentflowIcons.d.ts.map

dist/components/treeview/AgentflowIcons.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
type NodeDetailsDialogProps = {
2+
isOpen: boolean;
3+
onClose: () => void;
4+
node: {
5+
label: string;
6+
name: string;
7+
status: string;
8+
data: any;
9+
} | null;
10+
backgroundColor?: string;
11+
textColor?: string;
12+
apiHost?: string;
13+
chatflowid?: string;
14+
chatId?: string;
15+
};
16+
export declare const NodeDetailsDialog: (props: NodeDetailsDialogProps) => import("solid-js").JSX.Element;
17+
export {};
18+
//# sourceMappingURL=NodeDetailsDialog.d.ts.map

dist/components/treeview/NodeDetailsDialog.d.ts.map

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

dist/web.js

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

0 commit comments

Comments
 (0)