Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Server-Sent Events #240

Merged
merged 13 commits into from
Sep 16, 2024
Merged
2 changes: 2 additions & 0 deletions dist/components/Bot.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ export type MessageType = {
fileAnnotations?: any;
fileUploads?: Partial<FileUpload>[];
agentReasoning?: IAgentReasoning[];
usedTools?: any[];
action?: IAction | null;
rating?: FeedbackRatingType;
id?: string;
};
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.

1 change: 1 addition & 0 deletions dist/components/bubbles/BotBubble.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type Props = {
isLoading: boolean;
showAgentMessages?: boolean;
handleActionClick: (label: string, action: IAction | undefined | null) => void;
handleSourceDocumentsClick: (src: any) => void;
};
export declare const BotBubble: (props: Props) => import("solid-js").JSX.Element;
export {};
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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"license": "MIT",
"dependencies": {
"@babel/core": "^7.22.1",
"@microsoft/fetch-event-source": "^2.0.1",
"@ts-stack/markdown": "^1.4.0",
"device-detector-js": "^3.0.3",
"lodash": "^4.17.21",
"prettier": "^3.1.0",
"socket.io-client": "^4.6.2",
"solid-element": "1.7.0",
"solid-js": "1.7.1",
"zod": "^3.22.4"
Expand Down
Loading