@chatbotkit/react 1.25.0 → 1.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -56,6 +56,7 @@ export type OnFinishHandler = (arg0: {
|
|
|
56
56
|
}) => any;
|
|
57
57
|
export type Options = Omit<any, "messages" | "functions"> & {
|
|
58
58
|
client: import("@chatbotkit/sdk").ConversationClient;
|
|
59
|
+
backstory?: string;
|
|
59
60
|
messages: InputMessage[];
|
|
60
61
|
functions?: (InputFunction | (() => InputFunction | Promise<InputFunction>))[];
|
|
61
62
|
maxRecursion?: number;
|
|
@@ -56,6 +56,7 @@ export type OnFinishHandler = (arg0: {
|
|
|
56
56
|
}) => any;
|
|
57
57
|
export type Options = Omit<import("@chatbotkit/sdk/conversation/v1.js").ConversationCompleteRequest, "messages" | "functions"> & {
|
|
58
58
|
client: import("@chatbotkit/sdk").ConversationClient;
|
|
59
|
+
backstory?: string;
|
|
59
60
|
messages: InputMessage[];
|
|
60
61
|
functions?: (InputFunction | (() => InputFunction | Promise<InputFunction>))[];
|
|
61
62
|
maxRecursion?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chatbotkit/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.1",
|
|
4
4
|
"description": "The fastest way to build advanced AI chat bots",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"engines": {
|
|
@@ -461,8 +461,8 @@
|
|
|
461
461
|
"types": "./dist/cjs/index.d.ts",
|
|
462
462
|
"dependencies": {
|
|
463
463
|
"tslib": "^2.6.2",
|
|
464
|
-
"@chatbotkit/
|
|
465
|
-
"@chatbotkit/
|
|
464
|
+
"@chatbotkit/widget": "1.26.1",
|
|
465
|
+
"@chatbotkit/sdk": "1.26.1"
|
|
466
466
|
},
|
|
467
467
|
"peerDependencies": {
|
|
468
468
|
"react": ">=18.0.0",
|
|
@@ -470,12 +470,13 @@
|
|
|
470
470
|
"react-markdown": "^8.0.4"
|
|
471
471
|
},
|
|
472
472
|
"devDependencies": {
|
|
473
|
+
"@types/react": "^18.2.0",
|
|
473
474
|
"npm-run-all": "^4.1.5",
|
|
475
|
+
"react-markdown": "^10.1.0",
|
|
474
476
|
"typedoc": "^0.28.14",
|
|
475
477
|
"typedoc-plugin-markdown": "^4.9.0",
|
|
476
478
|
"typedoc-plugin-mdn-links": "^5.0.10",
|
|
477
|
-
"typescript": "^5.9"
|
|
478
|
-
"@types/react": "^18.2.0"
|
|
479
|
+
"typescript": "^5.9"
|
|
479
480
|
},
|
|
480
481
|
"files": [
|
|
481
482
|
"dist/**"
|