@inkeep/cxkit-types 0.5.43 → 0.5.44

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -586,11 +586,6 @@ export declare interface InkeepAIChatSettings extends ToolConfig {
586
586
  * Filters to apply to the chat results.
587
587
  */
588
588
  filters?: SearchAndChatFilters;
589
- /**
590
- * Callback function triggered whenever the AI uses a tool.
591
- * @param toolCall The tool call that was used
592
- */
593
- onToolCall?: (toolCall: FunctionToolCallArgumentsDoneEvent) => void | unknown | Promise<unknown>;
594
589
  }
595
590
 
596
591
  export declare interface InkeepBaseSettings {
@@ -1514,6 +1509,11 @@ export declare interface ToolConfig {
1514
1509
  * @returns An array of Tool objects that will be available to the AI assistant
1515
1510
  */
1516
1511
  getTools?: (ctx: ToolContext) => ToolFunction<any>[];
1512
+ /**
1513
+ * Callback function triggered whenever the AI uses a tool.
1514
+ * @param toolCall The tool call that was used
1515
+ */
1516
+ onToolCall?: (toolCall: FunctionToolCallArgumentsDoneEvent, ctx: ToolContext) => void | unknown | Promise<unknown>;
1517
1517
  }
1518
1518
 
1519
1519
  export declare interface ToolContext {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/cxkit-types",
3
- "version": "0.5.43",
3
+ "version": "0.5.44",
4
4
  "description": "",
5
5
  "license": "Inkeep, Inc. Customer License (IICL) v1.1",
6
6
  "homepage": "",